@Override
    public void readOutputOf(InputStream in) {
        StreamPumper.pump(in, outputConsumer, "", consoleLogCharset);
    }
@Test
    public void shouldReadOutputOfAGiveStream() {
        InputStream in = new ByteArrayInputStream(("""
                Lorem ipsum dolor sit amet, consectetur adipisicing elit,\s
                used do eiusmod tempor incididunt ut labore et dolore magna aliqua.
                 Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi\s
                ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit\s
                in voluptate velit esse cillum dolore eu fugiat nulla pariatur.\s
                 Excepteur sint occaecat cupidatat non proident, sunt in culpa qui\s
                officia deserunt mollit anim id est laborum.""").getBytes());

        doNothing().when(safeOutputStreamConsumer).stdOutput(anyString());
        console.readOutputOf(in);
        verify(safeOutputStreamConsumer, timeout(10000).times(7)).stdOutput(anyString());
    }