ModelBuilder.UnitTests.RandomGeneratorTests.NextValueWithTypeThrowsExceptionWhenMinimumGreaterThanMaximumTest C# (CSharp) Method

NextValueWithTypeThrowsExceptionWhenMinimumGreaterThanMaximumTest() private method

        public void NextValueWithTypeThrowsExceptionWhenMinimumGreaterThanMaximumTest()
        {
            var target = new RandomGenerator();

            Action action = () => target.NextValue(typeof(double), 1, 0);

            action.ShouldThrow<ArgumentOutOfRangeException>();
        }