@Test
void shouldResponseToStdoutByDefault() throws IOException {

    final PrintStream original = System.out;
    final PrintStream stream = mock(PrintStream.class);
    System.setOut(stream);
    try {
        final HttpLogWriter unit = new StreamHttpLogWriter();
        unit.write(new SimpleCorrelation("1", MIN, MIN), "bar");
        verify(stream).println("bar");
    } finally {
        System.setOut(original);
    }
}