@Test
public void testWrapSingleDouble() {

    ByteBuf buffer = copyDouble(42);
    assertEquals(8, buffer.capacity());
    assertEquals(42, buffer.readDouble(), 0.01);
    assertFalse(buffer.isReadable());
    buffer.release();
}