public void Test3() { var dogsName = "bo"; var dogsBreed = "husky"; var validator = new DogValidator(dogsName, dogsBreed); var errors = validator.Validate(); Assert.Contains("huskys name must be longer", errors); }
public void Test2() { var dogsName = "bob"; var dogsBreed = "husky"; var validator = new DogValidator(dogsName, dogsBreed); var errors = validator.Validate(); Assert.Empty(errors); }