### Question:
JmsBytesMessage extends JmsMessage implements BytesMessage { @Override public int hashCode() { return super.hashCode(); } JmsBytesMessage(JmsBytesMessageFacade facade); @Override JmsBytesMessage copy(); @Override boolean equals(Object other); @Override int hashCode(); @Override void clearBody(); @Override long getBodyLength(); @Override boolean readBoolean(); @Override byte readByte(); @Override int readUnsignedByte(); @Override short readShort(); @Override int readUnsignedShort(); @Override char readChar(); @Override int readInt(); @Override long readLong(); @Override float readFloat(); @Override double readDouble(); @Override String readUTF(); @Override int readBytes(byte[] value); @Override int readBytes(byte[] value, int length); @Override void writeBoolean(boolean value); @Override void writeByte(byte value); @Override void writeShort(short value); @Override void writeChar(char value); @Override void writeInt(int value); @Override void writeLong(long value); @Override void writeFloat(float value); @Override void writeDouble(double value); @Override void writeUTF(String value); @Override void writeBytes(byte[] value); @Override void writeBytes(byte[] value, int offset, int length); @Override void writeObject(Object value); @Override void reset(); @Override void onSend(long producerTtl); @Override String toString(); @Override boolean isBodyAssignableTo(@SuppressWarnings("rawtypes") Class target);  }### Answer:
@Test public void testHashCode() throws Exception { String messageId = "ID:SOME-ID:0:1:1"; JmsBytesMessage message = factory.createBytesMessage(); message.setJMSMessageID(messageId); assertEquals(message.getJMSMessageID().hashCode(), messageId.hashCode()); assertEquals(message.hashCode(), messageId.hashCode()); }