@Override
    public void stdOutput(String line) {
        consumer.stdOutput(cropLongLine(line));
    }
@Test
    public void shouldNotCropLongLinesIfUnbounded() {
        InMemoryStreamConsumer actualConsumer = ProcessOutputStreamConsumer.inMemoryConsumer();
        BoundedOutputStreamConsumer streamConsumer = new BoundedOutputStreamConsumer(actualConsumer, 0);

        streamConsumer.stdOutput("This is a fairly ridiculously long line.");

        assertThat(actualConsumer.getAllOutput(), is("This is a fairly ridiculously long line.\n"));
    }