GeoId implements Serializable, Comparable<GeoId> { @Pure public String getInternalId() { final int endIndex = this.id.indexOf('#'); if (endIndex <= 0) { return null; } return this.id.substring(0, endIndex); } GeoId(String id);   GeoId(double lowerx, double lowery, double upperx, double uppery, String id); @Pure static GeoId valueOf(String geoId); @Override @Pure String toString(); @Pure UUID toUUID(); @Pure @Override int compareTo(GeoId obj); @Pure @Override boolean equals(Object obj); @Pure @Override int hashCode(); @Pure Rectangle2d toBounds2D(); @Pure String getInternalId();  }
@Test public void testGetInternalId() { assertEquals(makeInternalId(this.loc11), this.id11.getInternalId()); assertEquals(makeInternalId(this.loc12), this.id12.getInternalId()); assertEquals(makeInternalId(this.loc13), this.id13.getInternalId()); assertEquals(makeInternalId(this.loc21), this.id21.getInternalId()); assertEquals(makeInternalId(this.loc22), this.id22.getInternalId()); assertEquals(makeInternalId(this.loc23), this.id23.getInternalId()); }