public void Fail_match(string text) { var pattern = new HttpUri(); var match = pattern.Match(text); Assert.True(match.Success()); }
public void Returns_a_match_with_http_Uri(string text, string uri) { var pattern = new HttpUri(); var match = (UriMatch)pattern.Match(text); Assert.True(match.Success()); Assert.Equal(uri, match.Uri().ToString()); }