### Question:
SeResponse implements Serializable { @Override public int hashCode() { int hash = 17; hash = 31 * hash + (selectionStatus.getAtr() == null ? 0 : selectionStatus.getAtr().hashCode()); hash = 7 * hash + (apduResponses == null ? 0 : this.apduResponses.hashCode()); hash = 29 * hash + (this.channelPreviouslyOpen ? 1 : 0); hash = 37 * hash + (this.logicalChannelIsOpen ? 1 : 0); return hash; } SeResponse(boolean logicalChannelIsOpen, boolean channelPreviouslyOpen,
            SelectionStatus selectionStatus, List<ApduResponse> apduResponses); boolean wasChannelPreviouslyOpen(); boolean isLogicalChannelOpen(); SelectionStatus getSelectionStatus(); List<ApduResponse> getApduResponses(); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode();  }### Answer:
@Test() public void hashcode() throws Exception { SeResponse resp = getASeResponse(); SeResponse resp2 = getASeResponse(); Assert.assertTrue(resp.hashCode() == resp2.hashCode()); }
@Test() public void hashcodeNull() throws Exception { SeResponse resp = new SeResponse(true, true, new SelectionStatus(null, ApduResponseTest.getAFCI(), true), null); Assert.assertNotNull(resp.hashCode()); }