@Test
public void testWrapSingleShort() {

    ByteBuf buffer = copyShort(42);
    assertEquals(2, buffer.capacity());
    assertEquals(42, buffer.readShort());
    assertFalse(buffer.isReadable());
    buffer.release();
}