private static ByteBuffer responseContent(Streams stream, String... messages) throws Exception {
        List<ByteBuffer> buffers = new ArrayList<>(messages.length);
        for (String message : messages) {
            buffers.add(messageToBuffer(stream, message));
        }

        ByteBuffer[] bufArray = new ByteBuffer[buffers.size()];
        return combineBuffers(buffers.toArray(bufArray));
    }
Create a bytebuffer with all the messages. Timestamps will be added to each one.
src/test/java/io/fabric8/maven/docker/access/log/LogRequestorTest.java