@Test
public void testToString()
{

    HttpErrorResponseException testHttpErrorResponseException =
        new HttpErrorResponseException(testMessage, testStatusCode, testStatusDescription, testResponseMessage);
    String expectedHttpErrorResponseExceptionString = String
        .format("Message: %s, Status Code: %d, Status Description: %s, Response Message: %s", testMessage, testStatusCode, testStatusDescription,
            testResponseMessage);
    assertEquals(expectedHttpErrorResponseExceptionString, testHttpErrorResponseException.toString());
}