@Test
public void testReadLong() {

    DynamicCompositeByteBuf compositeByteBuf = new DynamicCompositeByteBuf();
    ByteBuf buf = Unpooled.buffer(8);
    buf.writeLong(234L);
    compositeByteBuf.addBuffer(buf);
    Assert.assertTrue(compositeByteBuf.readLong() == 234L);
}