### Question:
Content { @Override public int hashCode() { return Objects.hash(getType(), Arrays.hashCode(getBody())); } private  Content();  Content(byte[] body);  Content(String type, byte[] body); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); String getType(); byte[] getBody(); static final Content EMPTY_CONTENT; }### Answer:
@Test public void testHashCode() { Content contentA = new Content("application/json", "Hallo Welt".getBytes()); Content contentB = new Content("application/json", "Hallo Welt".getBytes()); assertEquals(contentA.hashCode(), contentB.hashCode()); }