assertPathContains(path, false, "one", "two");
}
@Test
public void appendPath() {
RelativePath childPath = new RelativePath(false, "one", "two").append(new RelativePath(true, "three", "four"));
assertPathContains(childPath, true, "one", "two", "three", "four");
childPath = new RelativePath(false, "one", "two").append(new RelativePath(true));
assertPathContains(childPath, true, "one", "two");
childPath = new RelativePath(false, "one", "two").plus(new RelativePath(true, "three"));
assertPathContains(childPath, true, "one", "two", "three");
}