Esempio n. 1
0
        public void WhenDatesAreEmptyReturnsException(DateTime?firstDate, DateTime?endDate)
        {
            // Arrange

            // Action

            // Assert
            Assert.Throws <BadRequestException>(() => validatorService.IsDateInputValid(firstDate, endDate));
        }