Beispiel #1
0
        public void Test_Validation_Date_Range_With_InValid_Range()
        {
            // Arrange
            var dateFrom = new DateTime(2029, 1, 1);
            var dateTo   = new DateTime(2019, 1, 1);

            var validator = new TransactionValidator();

            // Act
            var actual = validator.IsDateRangeValid(dateFrom, dateTo);

            // Assert
            Assert.AreEqual(false, actual);
        }