@Test(expected = EOFException.class)
public void testEOF() throws EOFException {

  ByteBuf byteBuf = Unpooled.wrappedBuffer(new byte[] {});
  BitReader bitReader = new BitReader(byteBuf);
  bitReader.testBit();
}