Ejemplo n.º 1
0
        public void ShouldBeOutOfRangePageSizeException()
        {
            var builder = new SettingsBuilder();

            builder
            .PageSize(-2);

            builder.Invoking(b => b.Build())
            .Should()
            .Throw <OutOfRangePageSizeException>();
        }