### Question:
ApduResponse implements Serializable { @Override public boolean equals(Object o) { if (o == this) { return true; } if (!(o instanceof ApduResponse)) { return false; } ApduResponse resp = (ApduResponse) o; return Arrays.equals(resp.getBytes(), this.bytes) && resp.isSuccessful() == this.successful; } 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 isEqualsTest() { assertTrue(getAFCI().equals(getAFCI())); }
@Test public void isThisEquals() { ApduResponse resp = getAFCI(); assertTrue(resp.equals(resp)); }
@Test public void isNotEquals() { ApduResponse resp = getAFCI(); Object obj = new Object(); assertFalse(resp.equals(obj)); }
@Test public void isNotEqualsNull() { ApduResponse resp = getAFCI(); ApduResponse respNull = new ApduResponse(null, null); assertFalse(resp.equals(respNull)); }