name = new CompoundName("a/b/c/d", props);
assertTrue(name.endsWith(new CompoundName("", props)));
assertTrue(name.endsWith(new CompoundName("c/d", props)));
assertTrue(name.endsWith(new CompoundName("a/b/c/d", props)));
assertFalse(name.endsWith(new CompoundName("b", props)));
assertFalse(name.endsWith(new CompoundName("a/b/c/d/e", props)));
}
public void testEndsWith_NotCoumpoundName() throws InvalidNameException {
log.setMethod("testEndsWith_NotCoumpoundName()");