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

ThrowsArgumentExceptionForValueThatMatchWithThePattern() private method

            public void ThrowsArgumentExceptionForValueThatMatchWithThePattern()
            {
                ExceptionTester.CallMethodAndExpectException<ArgumentException>(() => Argument.IsMatch("myParam", "\n", ".+"));
            }