public void MeetAllConditions_TimeNotWithinTimeLimit_ReturnsFalse(DateTime entryDateTime, DateTime exitDateTime) { var earlyBirdConditions = new EarlyBirdConditions(); var result = earlyBirdConditions.MeetAllConditions(entryDateTime, exitDateTime); Assert.False(result); }
public void MeetAllConditions_InvalidDate_ThrowsException(DateTime entryDateTime, DateTime exitDateTime) { var earlyBirdConditions = new EarlyBirdConditions(); Assert.Throws <Exception>(() => earlyBirdConditions.MeetAllConditions(entryDateTime, exitDateTime)); }