### Question:
AbstractID implements IOReadableWritable { public void setID(AbstractID src) { this.lowerPart = src.lowerPart; this.upperPart = src.upperPart; } AbstractID(byte[] bytes);  AbstractID(long lowerPart, long upperPart);  AbstractID(AbstractID id);  AbstractID(); void setID(AbstractID src); @Override boolean equals(Object obj); @Override int hashCode(); @Override void read(DataInput in); @Override void write(DataOutput out); void write(ByteBuffer buffer); void writeTo(ByteBuf buf); @Override String toString(); static final int SIZE; }### Answer:
@Test public void testSetID() { final ChannelID id1 = new ChannelID(); final ChannelID id2 = new ChannelID(); id1.setID(id2); assertEquals(id1.hashCode(), id2.hashCode()); assertEquals(id1, id2); }