public static void free(final DirectBuffer buffer)
    {
        if (null != buffer)
        {
            free(buffer.byteBuffer());
        }
    }
@Test
    void freeShouldReleaseByteBufferResources()
    {
        final ByteBuffer buffer = ByteBuffer.allocateDirect(4);
        buffer.put((byte)1);
        buffer.put((byte)2);
        buffer.put((byte)3);
        buffer.position(0);

        BufferUtil.free(buffer);
    }