### Question:
ApduResponse implements Serializable { @Override public int hashCode() { int hash = 17; hash = 19 * hash + (this.successful ? 0 : 1); hash = 31 * hash + (bytes == null ? 0 : Arrays.hashCode(bytes)); return hash; } ApduResponse(byte[] buffer, Set<Integer> successfulStatusCodes); boolean isSuccessful(); int getStatusCode(); byte[] getBytes(); byte[] getDataOut(); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode();  }### Answer:
@Test public void hashcodeTest() { ApduResponse resp = getAFCI(); ApduResponse resp2 = getAFCI(); assertTrue(resp.hashCode() == resp2.hashCode()); }
@Test public void hashcodeNull() { ApduResponse resp = new ApduResponse(null, null); assertNotNull(resp.hashCode()); }