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