### Question:
ResponseStatus { @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; ResponseStatus that = (ResponseStatus) o; if (responseType != that.responseType) return false; if (code != that.code) return false; return message.equals(that.message); } ResponseStatus(ResponseType responseType);  ResponseStatus(ResponseType responseType, ErrorCode code, String message); ResponseStatus setCode(ErrorCode code); ResponseStatus setMessage(String m); ResponseType getResponseType(); ErrorCode getCodeOrDefaultDALERR(); ErrorCode getCodeOrDefault(ErrorCode defaultCode); String getMessage(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); void print(StringBuilder stringBuilder);  }### Answer:
@Test public void testInstance() throws Exception { ResponseStatus responseStatus = new ResponseStatus(ResponseStatus.ResponseType.OK); ResponseStatus responseStatus1 = new ResponseStatus(ResponseStatus.ResponseType.OK); Assert.assertNotSame(responseStatus, responseStatus1); Assert.assertTrue(responseStatus.equals(responseStatus1)); }