public void ThrowsArgumentExceptionForNullPattern() { ExceptionTester.CallMethodAndExpectException<ArgumentException>(() => Argument.IsMatch("myParam", string.Empty, null)); }