Catel.Test.ArgumentFacts.TheIsNotMatchMethod.ThrowsArgumentExceptionForValueThatMatchWithThePattern C# (CSharp) Method

ThrowsArgumentExceptionForValueThatMatchWithThePattern() private method

            public void ThrowsArgumentExceptionForValueThatMatchWithThePattern()
            {
                ExceptionTester.CallMethodAndExpectException<ArgumentException>(() => Argument.IsNotMatch("myParam", "Match any single character that is not a line break character, between one and unlimited times", ".+"));
            }