### Question:
BookieId { @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (getClass() != obj.getClass()) { return false; } final BookieId other = (BookieId) obj; if (!Objects.equals(this.id, other.id)) { return false; } return true; } private  BookieId(String id); @Override String toString(); static BookieId parse(String serialized); String getId(); @Override int hashCode(); @Override boolean equals(Object obj);  }### Answer:
@Test public void testEquals() { assertEquals(BookieId.parse("test"), BookieId.parse("test")); assertNotEquals(BookieId.parse("test"), BookieId.parse("test2")); }