@Test
void shouldLogResponseWithoutBody() throws IOException {

    final String correlationId = "3881ae92-6824-11e5-921b-10ddb1ee7671";
    final HttpResponse response = MockHttpResponse.create()
            .withOrigin(Origin.LOCAL)
            .withStatus(400)
            .withHeaders(HttpHeaders.of("Content-Type", "application/json"));
    final String http = unit.format(new SimpleCorrelation(correlationId,
            Instant.MIN, Instant.MIN.plusMillis(100)), response);
    assertThat(http, is("Outgoing Response: 3881ae92-6824-11e5-921b-10ddb1ee7671\n" +
            "Duration: 100 ms\n" +
            "HTTP/1.1 400 Bad Request\n" +
            "Content-Type: application/json"));
}