public void test10()
{
MockWebRequest request = new MockWebRequest(Url.parse("a/b/q/d/e"), "/contextPath",
"/filterPath", "../");
UrlRenderer r = new UrlRenderer(request);
assertEquals("../../../../../", r.renderContextRelativeUrl(""));
assertEquals("../../../../../", r.renderContextRelativeUrl("/"));
assertEquals("../../../../../f", r.renderContextRelativeUrl("/f"));
assertEquals("../../../../../../f", r.renderContextRelativeUrl("../f"));
try
{
r.renderContextRelativeUrl(null);
fail("Null 'url' is not allowed!");
}
catch (IllegalArgumentException iax)
{
assertTrue(true);