### Question:
OSMRelation extends OSMEntity implements Comparable<OSMRelation>, Serializable { @Override public String toString() { return String.format("Relation-> %s Mem:%s", super.toString(), Arrays.toString(getMembers())); } OSMRelation(final long id, final int version, final OSHDBTimestamp timestamp, final long changeset,
      final int userId, final int[] tags, final OSMMember[] members); @Override OSMType getType(); OSMMember[] getMembers(); Stream<OSMEntity> getMemberEntities(OSHDBTimestamp timestamp, Predicate<OSMMember> memberFilter); Stream<OSMEntity> getMemberEntities(OSHDBTimestamp timestamp); @Override int compareTo(OSMRelation o); @Override String toString();  }### Answer:
@Test public void testToString() { OSMMember part = new OSMMember(1L, OSMType.WAY, 1); OSMRelation instance = new OSMRelation(1L, 2, new OSHDBTimestamp(1L), 1L, 1, new int[] {1, 2}, new OSMMember[] {part, part}); String expResult = "Relation-> ID:1 V:+2+ TS:1 CS:1 VIS:true UID:1 TAGS:[1, 2] Mem:[T:WAY ID:1 R:1, T:WAY ID:1 R:1]"; String result = instance.toString(); assertEquals(expResult, result); }