EligibilityDecisionHandlerTest

15

tests

0

failures

0

ignored

0.062s

duration

100%

successful

Tests

Test Method name Duration Result
Expected delivery date previous cycle=null shouldExpireClaimWhenChildDisappearsFromFeedAndNotPregnant(LocalDate)[1] 0.003s passed
Expected delivery date previous cycle=2020-05-06 shouldExpireClaimWhenChildDisappearsFromFeedAndNotPregnant(LocalDate)[2] 0.003s passed
Eligibility outcome =CONFIRMED shouldExpireClaimWhenClaimantWasPregnantWithNoChildrenButNoLongerPregnant(EligibilityOutcome)[1] 0.008s passed
Eligibility outcome =NOT_CONFIRMED shouldExpireClaimWhenClaimantWasPregnantWithNoChildrenButNoLongerPregnant(EligibilityOutcome)[2] 0.003s passed
Eligibility outcome =CONFIRMED shouldExpireClaimWhenIneligibleWithNoChildrenAndNotPregnant(EligibilityOutcome)[1] 0.003s passed
Eligibility outcome =NOT_CONFIRMED shouldExpireClaimWhenIneligibleWithNoChildrenAndNotPregnant(EligibilityOutcome)[2] 0.004s passed
shouldExpirePendingExpiryClaim() shouldExpirePendingExpiryClaim() 0.001s passed
shouldMoveAPendingExpiryClaimToActiveWhenTheClaimantIsEligible() shouldMoveAPendingExpiryClaimToActiveWhenTheClaimantIsEligible() 0.024s passed
shouldRequestPaymentForClaim() shouldRequestPaymentForClaim() 0.001s passed
[1] homer@simpson.com shouldSendReportABirthReminderEmailWhenClaimantReceivesSecondToLastPregnancyVouchers(String)[1] 0.002s passed
[2] shouldSendReportABirthReminderEmailWhenClaimantReceivesSecondToLastPregnancyVouchers(String)[2] 0.001s passed
Children DOB in previous cycle=[2019-09-06, 2017-03-06] shouldUpdateClaimToPendingExpiryWhenClaimantIsNotEligibleButStillPregnant(List)[1] 0.002s passed
Children DOB in previous cycle=[] shouldUpdateClaimToPendingExpiryWhenClaimantIsNotEligibleButStillPregnant(List)[2] 0.002s passed
Children DOB previous cycle=[2019-09-06, 2017-03-06], expected delivery date previous cycle=null, expected delivery date current cycle=null shouldUpdateClaimToPendingExpiryWhenClaimantIsNotEligibleWithChildrenInCurrentCycle(List, LocalDate, LocalDate)[1] 0.003s passed
Children DOB previous cycle=[2019-09-06, 2017-03-06], expected delivery date previous cycle=2020-05-06, expected delivery date current cycle=2020-05-06 shouldUpdateClaimToPendingExpiryWhenClaimantIsNotEligibleWithChildrenInCurrentCycle(List, LocalDate, LocalDate)[2] 0.002s passed