@Test
public void testWrapSingleLong() {

    ByteBuf buffer = copyLong(42);
    assertEquals(8, buffer.capacity());
    assertEquals(42, buffer.readLong());
    assertFalse(buffer.isReadable());
    buffer.release();
}