### Question:
ActorId extends Object implements Comparable<ActorId> { @Override public int compareTo(ActorId other) { return (other == null) ? 1 : compareContent(this, other); } ActorId(String id); @Override String toString(); @Override int compareTo(ActorId other); @Override int hashCode(); @Override boolean equals(Object obj); static ActorId createRandom();  }### Answer:
@Test public void verifyCompareTo() { List<Wrapper> values = createComparesToTestValues(); for (Wrapper w : values) { ActorId a1 = (ActorId) w.item1; ActorId a2 = (ActorId) w.item2; Assert.assertEquals(w.expectedResult, a1.compareTo(a2)); } }