示例#1
0
        public void FlightNormal_DepartInPastValidator_ReturnsFalse()
        {
            DepartedInPastValidator validator = new DepartedInPastValidator();

            bool result = validator.Discard(TestFlights.normal);

            Assert.IsFalse(result);
        }
示例#2
0
        public void FlightDepartingInThePast_DepartInPastValidator_ReturnsTrue()
        {
            // Departures in the past

            DepartedInPastValidator validator = new DepartedInPastValidator();

            bool result = validator.Discard(TestFlights.departingInThePast);

            Assert.IsTrue(result);
        }