@Test
public void testEquals()
{

    HttpErrorResponseException testHttpErrorResponseException =
        new HttpErrorResponseException(testMessage, testStatusCode, testStatusDescription, testResponseMessage);
    Object nullObject = null;
    assertTrue(testHttpErrorResponseException.equals(testHttpErrorResponseException));
    assertFalse(testHttpErrorResponseException.equals(nullObject));
    assertFalse(testHttpErrorResponseException.equals(""));
    assertTrue(testHttpErrorResponseException.equals(new HttpErrorResponseException(testStatusCode, null, null)));
}