@Test
void shouldLogRequestWithoutContentType() throws IOException {

    final String correlationId = "3ce91230-677b-11e5-87b7-10ddb1ee7671";
    final HttpRequest request = MockHttpRequest.create()
            .withMethod("POST")
            .withProtocolVersion("HTTP/1.0")
            .withOrigin(REMOTE)
            .withPath("/test")
            .withBodyAsString("Hello");
    final String format = unit.format(correlation(correlationId), request);
    assertThat(format, stringContainsInOrder(
            "origin=remote",
            "type=request",
            "correlation=3ce91230-677b-11e5-87b7-10ddb1ee7671",
            "protocol=HTTP/1.0",
            "remote=127.0.0.1",
            "method=POST",
            "uri=http://localhost/test",
            "body=Hello"
    ));
}