### Question:
XURI implements Comparable { public final String getPath() { return "/" + type + "/" + id; } XURI(String inputBaseURI, String type, String id);  XURI(String uri); final String getUri(); final String getType(); final EntityType getTypeAsEntityType(); final String getId(); final String getPath(); final Resource getAsResource(); @Override final String toString(); @Override final boolean equals(Object o); @Override final int hashCode(); @Override final int compareTo(Object o);  }### Answer:
@Test public void testGetPath() throws Exception { String id = "w543432123"; String uri = BaseURI.work() + id; XURI xuri = new XURI(uri); assertEquals("/work/" + id, xuri.getPath()); }