Hi
You won't be able to use the ShouldHaveValidationErrorFor method for this - it only works for settable properties. You'll need to invoke the validator manually and run assertions against the result.Errors collection.
Jeremy
You won't be able to use the ShouldHaveValidationErrorFor method for this - it only works for settable properties. You'll need to invoke the validator manually and run assertions against the result.Errors collection.
Jeremy