Catel.Test.ArgumentFacts.TheIsMaximumMethod.ThrowsArgumentOutOfRangeExceptionForTooLargeDoubleParamValue C# (CSharp) Méthode

ThrowsArgumentOutOfRangeExceptionForTooLargeDoubleParamValue() private méthode

            public void ThrowsArgumentOutOfRangeExceptionForTooLargeDoubleParamValue()
            {
                ExceptionTester.CallMethodAndExpectException<ArgumentOutOfRangeException>(() => Argument.IsMaximum("param", 3d, 2d));
            }