public void ShouldBeOutOfRangePageSizeException() { var builder = new SettingsBuilder(); builder .PageSize(-2); builder.Invoking(b => b.Build()) .Should() .Throw <OutOfRangePageSizeException>(); }
public void ShouldBeOutOfRangePageSizeException() { var builder = new SettingsBuilder(); builder .PageSize(-2); builder.Invoking(b => b.Build()) .Should() .Throw <OutOfRangePageSizeException>(); }