public void testEndsWith() {
Path u = new UrlImpl("/ab/c/d");
assertTrue(u.endsWith("d"));
assertTrue(u.endsWith("/d"));
assertTrue(u.endsWith("/d/"));
assertFalse(u.endsWith("cd"));
assertFalse(u.endsWith("c/d/f"));
}
/**
* Test method for {@link ch.entwine.weblounge.common.impl.url.UrlImpl#isPrefixOf(ch.entwine.weblounge.common.url.Path)}.