@Test
public void shouldAllowEmptyBufferToCreateCompositeBuffer() {

    ByteBuf buf = wrappedBuffer(
            EMPTY_BUFFER,
            wrappedBuffer(new byte[16]).order(LITTLE_ENDIAN),
            EMPTY_BUFFER);
    try {
        assertEquals(16, buf.capacity());
    } finally {
        buf.release();
    }
}