我有这样的断言:
validationResults.Select(result => result.Tag).ToList().Should().Contain(ServiceContractRuleKey.MedicalDeclarationNumberRequired "because a validation error should be added that the MedicalDeclarationNumber is missing.");
我怎样才能断言validationResults不应该包含'ServiceContractRuleKey.MedicalDeclarationNumberRequired'
?
提前致谢。