public void Setup() { _httpResolver = new UrlResolver("http://www.google.com/mail/user=fulano"); _sshResolver = new UrlResolver("ssh://fulano%[email protected]/"); }
public void GivenUrlShouldResolveAnotherPath_WhenItIs_Http() { _httpResolver = new UrlResolver("http://www.google.com/mail232/user=fulano"); Assert.That("mail232", Is.EqualTo(_httpResolver.Path)); }