Skip to content

Test Result : SubmitAssignmentUseCaseTest

0 failures (±0)
6 tests (±0)
Took 0.21 sec.

All Tests

Test nameDurationStatus
givenValidAssignment_whenAccountPersonUidIsNotSubmitter_thenWillThrowNotSubmitterException[jvm]22 msPassed
givenValidAssignment_whenDeadlineAndGracePeriodPassed_thenWillThrowDeadlinePassedException[jvm]24 msPassed
givenValidAssignment_whenNoSubmissionMadeYet_thenWillSaveSubmission[jvm]30 msPassed
givenValidAssignment_whenSubmissionAlreadyMadeAndPolicyIsAllowMultipleSubmissions_thenWillSaveSubmission[jvm]75 msPassed
givenValidAssignment_whenSubmissionAlreadyMadeAndPolicyIsSubmitAllAtOnce_thenWillThrowAlreadySubmittedException[jvm]41 msPassed
givenValidAssignment_whenTextTooLong_thenWillThrowTextTooLongException[jvm]24 msPassed