ChildDateOfBirthCalculatorTest

47

tests

0

failures

0

ignored

0.037s

duration

100%

successful

Tests

Test Method name Duration Result
[1] [], 0 shouldGetNumberOfChildrenUnderFour(List, int)[1] 0s passed
[2] null, 0 shouldGetNumberOfChildrenUnderFour(List, int)[2] 0s passed
[3] [2015-03-06], 0 shouldGetNumberOfChildrenUnderFour(List, int)[3] 0.001s passed
[4] [2017-03-06], 1 shouldGetNumberOfChildrenUnderFour(List, int)[4] 0.001s passed
[5] [2018-03-06, 2017-03-06], 2 shouldGetNumberOfChildrenUnderFour(List, int)[5] 0.001s passed
[1] [], 0 shouldGetNumberOfChildrenUnderOne(List, int)[1] 0.001s passed
[2] null, 0 shouldGetNumberOfChildrenUnderOne(List, int)[2] 0.001s passed
[3] [2017-03-06], 0 shouldGetNumberOfChildrenUnderOne(List, int)[3] 0.001s passed
[4] [2019-09-06, 2017-03-06], 1 shouldGetNumberOfChildrenUnderOne(List, int)[4] 0.001s passed
[5] [2019-09-06, 2019-09-06], 2 shouldGetNumberOfChildrenUnderOne(List, int)[5] 0.001s passed
shouldReturnChildrenTurningOneAndChildTurningFourInPaymentCycle() shouldReturnChildrenTurningOneAndChildTurningFourInPaymentCycle() 0.001s passed
Children dobs=[2019-09-06] shouldReturnHadChildrenAtStartOfPaymentCycle(List)[1] 0.001s passed
Children dobs=[2016-09-06] shouldReturnHadChildrenAtStartOfPaymentCycle(List)[2] 0.001s passed
Children dobs=[2016-03-07] shouldReturnHadChildrenAtStartOfPaymentCycle(List)[3] 0s passed
Children dobs=[2019-09-06, 2016-09-06] shouldReturnHadChildrenAtStartOfPaymentCycle(List)[4] 0s passed
Children dobs=[2019-09-06] shouldReturnHadChildrenForGivenDate(List)[1] 0s passed
Children dobs=[2016-09-06] shouldReturnHadChildrenForGivenDate(List)[2] 0s passed
Children dobs=[2016-03-07] shouldReturnHadChildrenForGivenDate(List)[3] 0s passed
Children dobs=[2019-09-06, 2016-09-06] shouldReturnHadChildrenForGivenDate(List)[4] 0.001s passed
Children dobs=[] shouldReturnHadNoChildrenAtStartOfPaymentCycle(List)[1] 0s passed
Children dobs=[2016-03-06] shouldReturnHadNoChildrenAtStartOfPaymentCycle(List)[2] 0.001s passed
Children dobs=[2016-03-05] shouldReturnHadNoChildrenAtStartOfPaymentCycle(List)[3] 0.001s passed
Children dobs=[2015-03-06, 2014-03-06] shouldReturnHadNoChildrenAtStartOfPaymentCycle(List)[4] 0.001s passed
Children dobs=[2015-09-06] shouldReturnHadNoChildrenAtStartOfPaymentCycle(List)[5] 0.001s passed
Children dobs=[] shouldReturnHadNoChildrenForGivenDate(List)[1] 0.001s passed
Children dobs=[2016-03-06] shouldReturnHadNoChildrenForGivenDate(List)[2] 0s passed
Children dobs=[2016-03-05] shouldReturnHadNoChildrenForGivenDate(List)[3] 0s passed
Children dobs=[2015-03-06, 2014-03-06] shouldReturnHadNoChildrenForGivenDate(List)[4] 0.001s passed
Children dobs=[2015-09-06] shouldReturnHadNoChildrenForGivenDate(List)[5] 0.001s passed
shouldReturnLastChildTurningFourWithBirthdayJustAfterStartBoundary() shouldReturnLastChildTurningFourWithBirthdayJustAfterStartBoundary() 0.001s passed
shouldReturnLastChildTurningFourWithBirthdayOnEndBoundary() shouldReturnLastChildTurningFourWithBirthdayOnEndBoundary() 0.001s passed
shouldReturnNoChildrenTurningFourInPaymentCycle() shouldReturnNoChildrenTurningFourInPaymentCycle() 0.001s passed
shouldReturnNoChildrenTurningFourInPaymentCycleForPregnantWomanWithNoChildren() shouldReturnNoChildrenTurningFourInPaymentCycleForPregnantWomanWithNoChildren() 0.001s passed
shouldReturnNoChildrenTurningFourInPaymentCycleWithBirthdayAfterEndBoundary() shouldReturnNoChildrenTurningFourInPaymentCycleWithBirthdayAfterEndBoundary() 0.001s passed
shouldReturnNoChildrenTurningFourInPaymentCycleWithBirthdayOnStartBoundary() shouldReturnNoChildrenTurningFourInPaymentCycleWithBirthdayOnStartBoundary() 0.001s passed
shouldReturnNoChildrenTurningOneInPaymentCycle() shouldReturnNoChildrenTurningOneInPaymentCycle() 0.001s passed
shouldReturnNoChildrenTurningOneInPaymentCycleForPregnantWomanWithNoChildren() shouldReturnNoChildrenTurningOneInPaymentCycleForPregnantWomanWithNoChildren() 0.001s passed
shouldReturnNoChildrenTurningOneInPaymentCycleWithBirthdayAfterEndBoundary() shouldReturnNoChildrenTurningOneInPaymentCycleWithBirthdayAfterEndBoundary() 0.001s passed
shouldReturnNoChildrenTurningOneInPaymentCycleWithBirthdayOnStartBoundary() shouldReturnNoChildrenTurningOneInPaymentCycleWithBirthdayOnStartBoundary() 0.001s passed
shouldReturnOneChildrenTurningFourInPaymentCycleWithBirthdayJustAfterStartBoundary() shouldReturnOneChildrenTurningFourInPaymentCycleWithBirthdayJustAfterStartBoundary() 0.001s passed
shouldReturnOneChildrenTurningFourInPaymentCycleWithBirthdayOnEndBoundary() shouldReturnOneChildrenTurningFourInPaymentCycleWithBirthdayOnEndBoundary() 0.001s passed
shouldReturnOneChildrenTurningFourThatAffectsNextPayment() shouldReturnOneChildrenTurningFourThatAffectsNextPayment() 0.001s passed
shouldReturnOneChildrenTurningOneInPaymentCycleWithBirthdayJustAfterStartBoundary() shouldReturnOneChildrenTurningOneInPaymentCycleWithBirthdayJustAfterStartBoundary() 0.001s passed
shouldReturnOneChildrenTurningOneInPaymentCycleWithBirthdayOnEndBoundary() shouldReturnOneChildrenTurningOneInPaymentCycleWithBirthdayOnEndBoundary() 0.001s passed
shouldReturnOneChildrenTurningOneThatAffectsNextPayment() shouldReturnOneChildrenTurningOneThatAffectsNextPayment() 0.001s passed
shouldReturnTwoChildrenTurningFourInPaymentCycle() shouldReturnTwoChildrenTurningFourInPaymentCycle() 0.001s passed
shouldReturnTwoChildrenTurningOneInPaymentCycle() shouldReturnTwoChildrenTurningOneInPaymentCycle() 0.001s passed