public void ThrowsNullReferenceExceptionForNullProperty() { ExceptionTester.CallMethodAndExpectException<NullReferenceException>(() => new FieldValidationResult((PropertyData)null, ValidationResultType.Error, "message")); }