@Test
void shouldThrowWhenStartedTwice()
{

    ChunkAwareByteBufOutput output = new ChunkAwareByteBufOutput( 16 );
    output.start( mock( ByteBuf.class ) );
    assertThrows( IllegalStateException.class, () -> output.start( mock( ByteBuf.class ) ) );
}