public void TestValidateCreate_ShouldThrowException_NoErrors() { var testValidator = new BusinessValidatorBaseTestClass(true, false); var results = testValidator.ValidateCreate(new CreateTest()); Assert.AreEqual(0, results.ToList().Count); }
public void TestValidateCreate_ShouldThrowException_HasErrors() { var testValidator = new BusinessValidatorBaseTestClass(true, true); testValidator.ValidateCreate(new CreateTest()); }