public void ReturnSuccessForNull() { UriNamespaceValidator validator = new UriNamespaceValidator(); ValidationResults validationResults = validator.Validate(null); Assert.IsTrue(validationResults.IsValid); }
public void ReturnSuccessForNull() { UriNamespaceValidator validator = new UriNamespaceValidator(); ValidationResults validationResults = validator.Validate(null); Assert.IsTrue(validationResults.IsValid); }
public void ReturnSuccessForValidAction() { UriNamespaceValidator validator = new UriNamespaceValidator(); ValidationResults validationResults = validator.Validate("Foo"); Assert.IsTrue(validationResults.IsValid); validationResults = validator.Validate("http://Foo/Action"); Assert.IsTrue(validationResults.IsValid); validationResults = validator.Validate("urn:foo.action"); Assert.IsTrue(validationResults.IsValid); }
public void ReturnSuccessForValidAction() { UriNamespaceValidator validator = new UriNamespaceValidator(); ValidationResults validationResults = validator.Validate("Foo"); Assert.IsTrue(validationResults.IsValid); validationResults = validator.Validate("http://Foo/Action"); Assert.IsTrue(validationResults.IsValid); validationResults = validator.Validate("urn:foo.action"); Assert.IsTrue(validationResults.IsValid); }