예제 #1
0
 public void ThrowWhenIntervalStartsAfterEnd()
 {
     Given.ValueIsFirstOfJanuary2019();
     And.IntervalCoversErroneousDates();
     Then.ValueIsInIntervalAsAction()
     .Should().Throw <ArgumentException>()
     .And.ParamName.Should().Be("intervalStart");
 }