@Test
public void testHttpErrorResponseException()
{

    HttpErrorResponseException testHttpErrorResponseException;
    testHttpErrorResponseException = new HttpErrorResponseException(testStatusCode, testStatusDescription, testResponseMessage);
    validateHttpErrorResponseException(null, null, testStatusCode, testStatusDescription, testResponseMessage, testHttpErrorResponseException);
    testHttpErrorResponseException = new HttpErrorResponseException(testMessage, testStatusCode, testStatusDescription, testResponseMessage);
    validateHttpErrorResponseException(testMessage, null, testStatusCode, testStatusDescription, testResponseMessage, testHttpErrorResponseException);
    testHttpErrorResponseException = new HttpErrorResponseException(testMessage, testCause, testStatusCode, testStatusDescription, testResponseMessage);
    validateHttpErrorResponseException(testMessage, testCause, testStatusCode, testStatusDescription, testResponseMessage, testHttpErrorResponseException);
    testHttpErrorResponseException = new HttpErrorResponseException(testCause, testStatusCode, testStatusDescription, testResponseMessage);
    validateHttpErrorResponseException(testCause.toString(), testCause, testStatusCode, testStatusDescription, testResponseMessage,
        testHttpErrorResponseException);
    testHttpErrorResponseException =
        new HttpErrorResponseException(testMessage, testCause, false, false, testStatusCode, testStatusDescription, testResponseMessage);
    validateHttpErrorResponseException(testMessage, testCause, testStatusCode, testStatusDescription, testResponseMessage, testHttpErrorResponseException);
}