public void NameShoudNotBeNull_ValidateTest() { var validator = new IdentityValidator(); var expected = true; var actual = validator.Validate(null); Assert.AreEqual(expected, actual); }
public void NameShoudNotBeShorter9Symbols_ValidateTest() { var validator = new IdentityValidator(); var expected = true; var actual = validator.Validate("shortname"); Assert.AreEqual(expected, actual); }
public void NameShoudNotBeEmptyString_ValidateTest() { var validator = new IdentityValidator(); var expected = true; var actual = validator.Validate(string.Empty); Assert.AreEqual(expected, actual); }
public void ValidateTestCase() { var validator = new IdentityValidator(); var expected = true; var actual = validator.Validate("fakedata"); Assert.AreEqual(expected, actual); }