protected void SetupSucceedingValidator(ValidatorInvocation forInvocation) { ValidatorSetups.Add(ValidatorResultSetup.Succeeding(forInvocation)); }
protected void SetupFailingValidator(ValidatorInvocation forInvocation, string errorDetails) { ValidatorSetups.Add(ValidatorResultSetup.Failing(forInvocation, errorDetails)); }