### Question:
DefaultHttpResponse extends DefaultHttpMessage implements HttpResponse { @Override public int hashCode() { int result = 1; result = 31 * result + status.hashCode(); result = 31 * result + super.hashCode(); return result; } DefaultHttpResponse(HttpVersion version, HttpResponseStatus status);  DefaultHttpResponse(HttpVersion version, HttpResponseStatus status, boolean validateHeaders);  DefaultHttpResponse(HttpVersion version, HttpResponseStatus status, boolean validateHeaders,
                               boolean singleFieldHeaders);  DefaultHttpResponse(HttpVersion version, HttpResponseStatus status, HttpHeaders headers); @Override @Deprecated HttpResponseStatus getStatus(); @Override HttpResponseStatus status(); @Override HttpResponse setStatus(HttpResponseStatus status); @Override HttpResponse setProtocolVersion(HttpVersion version); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object o);  }### Answer:
@Test public void testNotEquals() { HttpResponse ok = new DefaultHttpResponse(HttpVersion.HTTP_1_1, HttpResponseStatus.OK); HttpResponse notFound = new DefaultHttpResponse(HttpVersion.HTTP_1_1, HttpResponseStatus.NOT_FOUND); assertNotEquals(ok, notFound); assertNotEquals(ok.hashCode(), notFound.hashCode()); }