- Assertion.Assert ("#1", !p.IsBypassed (new Uri ("http://www.google.com")));
- Assertion.Assert ("#2", p.IsBypassed (new Uri ("http://localhost/index.html")));
- Assertion.Assert ("#3", p.IsBypassed (new Uri ("http://localhost:8080/index.html")));
- Assertion.Assert ("#4", p.IsBypassed (new Uri ("http://loopback:8080/index.html")));
- Assertion.Assert ("#5", p.IsBypassed (new Uri ("http://127.0.0.01:8080/index.html")));
- Assertion.Assert ("#6", p.IsBypassed (new Uri ("http://webserver/index.html")));
- Assertion.Assert ("#7", !p.IsBypassed (new Uri ("http://webserver.com/index.html")));
+ Assert.IsTrue (!p.IsBypassed (new Uri ("http://www.google.com")), "#1");
+ Assert.IsTrue (p.IsBypassed (new Uri ("http://localhost/index.html")), "#2");
+ Assert.IsTrue (p.IsBypassed (new Uri ("http://localhost:8080/index.html")), "#3");
+ Assert.IsTrue (p.IsBypassed (new Uri ("http://loopback:8080/index.html")), "#4");
+ Assert.IsTrue (p.IsBypassed (new Uri ("http://127.0.0.01:8080/index.html")), "#5");
+ Assert.IsTrue (p.IsBypassed (new Uri ("http://webserver/index.html")), "#6");
+ Assert.IsTrue (!p.IsBypassed (new Uri ("http://webserver.com/index.html")), "#7");