@Test
public void getsUnknownStatusInfoForUnknownStatus() throws Exception {

    ResponseImpl response = new ResponseImpl(0, "foo", null, null);
    Response.StatusType statusInfo = response.getStatusInfo();
    assertEquals(0, statusInfo.getStatusCode());
    assertEquals(OTHER, statusInfo.getFamily());
    assertEquals("Unknown", statusInfo.getReasonPhrase());
}