@Test
void shouldLogResponseForUnknownStatusCode() throws IOException {

    final String correlationId = "2d51bc02-677e-11e5-8b9b-10ddb1ee7671";
    final HttpResponse response = MockHttpResponse.create()
            .withProtocolVersion("HTTP/1.0")
            .withOrigin(Origin.REMOTE)
            .withStatus(1000)
            .withHeaders(HttpHeaders.of("Content-Type", "application/json"))
            .withBodyAsString("{\"success\":true}");
    final String http = unit.format(new SimpleCorrelation(correlationId, Instant.MIN, Instant.MIN.plusMillis(125)),
            response);
    assertThat(http, is("Incoming Response: 2d51bc02-677e-11e5-8b9b-10ddb1ee7671\n" +
            "Duration: 125 ms\n" +
            "HTTP/1.0 1000\n" +
            "Content-Type: application/json\n" +
            "\n" +
            "{\"success\":true}"));
}