@Test
public void testWrapSingleInt() {

    ByteBuf buffer = copyInt(42);
    assertEquals(4, buffer.capacity());
    assertEquals(42, buffer.readInt());
    assertFalse(buffer.isReadable());
    buffer.release();
}