PaymentCycleEntitlementCalculatorIntegrationTests

13

tests

0

failures

0

ignored

0.026s

duration

100%

successful

Tests

Test Method name Duration Result
Should calculate the correct entitlement for a cycle when there is a child under one, whose first birthday is on day two of week one of the payment cycle. shouldCalculateCorrectEntitlementForEntitlementChanges1() 0.002s passed
Should calculate the correct entitlement for a cycle when the claimant is pregnant and there is a child between one and four whose fourth birthday is on day two of week two of the payment cycle. shouldCalculateCorrectEntitlementForEntitlementChanges2() 0.001s passed
Should calculate the correct entitlement for a cycle when there is one child under one whose first birthday is on day two of week three, and one child between one and four whose fourth birthday is on day one of week four of the payment cycle. shouldCalculateCorrectEntitlementForEntitlementChanges3() 0.002s passed
Should calculate the correct entitlement for a cycle when there is one child under one whose first birthday is on day two of week three, and one child between one and four whose fourth birthday is on day two of week four of the payment cycle. shouldCalculateCorrectEntitlementForEntitlementChangesOne4() 0.003s passed
Should calculate the correct entitlement when there is a child under one, a child under four and neither child changes age during the payment cycle. shouldCalculateCorrectEntitlementForNoChanges() 0.002s passed
shouldCalculateEntitlementForPregnantClaimantWithNoPreviousPregnancyVouchers() shouldCalculateEntitlementForPregnantClaimantWithNoPreviousPregnancyVouchers() 0.002s passed
shouldCalculateEntitlementWhenThereHasBeenNoChildNotifiedAndTheExpectedDueDateGoesOver12WeekThresholdWithinNextPaymentCycle() shouldCalculateEntitlementWhenThereHasBeenNoChildNotifiedAndTheExpectedDueDateGoesOver12WeekThresholdWithinNextPaymentCycle() 0.002s passed
shouldCalculateEntitlementWhenThereHasBeenNoChildNotifiedAndTheExpectedDueDateIsExactlyOn12WeekThresholdAtStartOfPaymentCycle() shouldCalculateEntitlementWhenThereHasBeenNoChildNotifiedAndTheExpectedDueDateIsExactlyOn12WeekThresholdAtStartOfPaymentCycle() 0.002s passed
shouldCalculateEntitlementWhenThereHasBeenNoChildNotifiedWithin8WeeksAfterExpectedDueDate() shouldCalculateEntitlementWhenThereHasBeenNoChildNotifiedWithin8WeeksAfterExpectedDueDate() 0.002s passed
shouldCalculateEntitlementWhenThereIsChildBornInTheLastWeekOfThePreviousCycle() shouldCalculateEntitlementWhenThereIsChildBornInTheLastWeekOfThePreviousCycle() 0.002s passed
shouldCalculateNewEntitlementWhenGivenAPreviousEntitlement() shouldCalculateNewEntitlementWhenGivenAPreviousEntitlement() 0.002s passed
shouldRemoveVoucherForPregnancyWhenANewChildUnderOneMatchedToPregnancy() shouldRemoveVoucherForPregnancyWhenANewChildUnderOneMatchedToPregnancy() 0.002s passed
shouldRemoveVoucherForPregnancyWhenTwoNewChildrenBornOneDayApartUnderOneMatchedToPregnancy() shouldRemoveVoucherForPregnancyWhenTwoNewChildrenBornOneDayApartUnderOneMatchedToPregnancy() 0.002s passed