public void GetProxyUriInlineUriTest3()
 {
     string queryName = "t";
     UriRewriter target = new UriRewriter(queryName);
     Uri targetUri = new Uri("http://localhost:3789/logo.png");
     Uri referer = null;
     Uri expected = new Uri("http://www.google.com/logo.png");
     target.GetProxyUri(targetUri, referer);
 }
 public void GetProxyUriTest()
 {
     string queryName = "t";
     UriRewriter target = new UriRewriter(queryName);
     Uri targetUri = new Uri("http://localhost:3789/?t=http://www.google.com");
     Uri referer = null;
     Uri expected = new Uri("http://www.google.com");
     Uri actual;
     actual = target.GetProxyUri(targetUri, referer);
     Assert.AreEqual(expected, actual);
 }