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