diff --git a/buffer/src/test/java/io/netty/buffer/AbstractCompositeChannelBufferTest.java b/buffer/src/test/java/io/netty/buffer/AbstractCompositeChannelBufferTest.java index 0c69083dc2..86fa2a5009 100644 --- a/buffer/src/test/java/io/netty/buffer/AbstractCompositeChannelBufferTest.java +++ b/buffer/src/test/java/io/netty/buffer/AbstractCompositeChannelBufferTest.java @@ -109,6 +109,8 @@ public abstract class AbstractCompositeChannelBufferTest extends ByteBuf _buf = buf.getBufferFor(index++); assertNotNull(_buf); assertTrue(_buf.capacity() > 0); + assertNotNull(_buf.getByte(0)); + assertNotNull(_buf.getByte(_buf.readableBytes() - 1)); } }