private static BreakInLearning Map(this ApprenticeshipBreakInLearning model)
        {
            var newBreakInLearning = new BreakInLearning(model.StartDate);

            if (model.EndDate.HasValue)
            {
                newBreakInLearning.SetEndDate(model.EndDate.Value);
            }

            return(newBreakInLearning);
        }
        public void Then_is_false_when_due_date_is_before_start_date_of_a_resumed_break_from_learning()
        {
            // arrange
            var breakInLearning = new BreakInLearning(_sutModel.DueDate.AddDays(1));

            breakInLearning.SetEndDate(_sutModel.DueDate.AddDays(10));
            var breakInLearnings = new List <BreakInLearning>()
            {
                breakInLearning
            };

            // act
            var result = _sut.RequiresNewPaymentAfterBreakInLearning(breakInLearnings);

            // assert
            result.Should().BeFalse();
        }