@Test
void shouldLogRequestToStream() throws IOException {

    final PrintStream stream = mock(PrintStream.class);
    final HttpLogWriter unit = new StreamHttpLogWriter(stream);
    unit.write(new SimplePrecorrelation("", Clock.systemUTC()), "foo");
    verify(stream).println("foo");
}