public void GetNumberOfSemester_NumberOfSemester_ReturnsExpectedValue(
            DateTime dateTime,
            int startLearningDateParam,
            int expected)
        {
            // Arrange
            var dateTimeTest      = dateTime;
            var startLearningDate = startLearningDateParam;

            // Act
            var service = new ParityOfTheWeekService(_parityOfTheWeekConfigurationModel.Object, _mockMapper.Object);
            var result  = service.GetNumberOfSemester(dateTimeTest, startLearningDate);

            // Assert
            Assert.Equal(expected, result);
        }
        public void GetNumberOfSemester_ReturnsNumberOfSemester_ShouldBeReturns_5()
        {
            // Arrange
            var fixture = new Fixture();

            fixture.Customize(new AutoMoqCustomization());

            var dateTimeTest = new DateTime(2018, 11, 11);

            var mapper = fixture.Freeze <Mock <IMapper> >();
            var parityOfTheWeekConfigurationModel = fixture.Freeze <Mock <ParityOfTheWeekConfigurationModel> >();

            var startLearningDate = 2016;

            // Act
            var service = new ParityOfTheWeekService(mapper.Object, parityOfTheWeekConfigurationModel.Object);
            var result  = service.GetNumberOfSemester(dateTimeTest, startLearningDate);

            // Assert
            Assert.AreEqual(5, result);
        }