@Test
public void testGetBitBuffer() throws Exception {

  final JBBPBitInputStream in = new JBBPBitInputStream(new ByteArrayInputStream(new byte[] {(byte) 0xAA}));
  assertEquals(0, in.getBitBuffer());
  assertEquals(0xA, in.readBits(JBBPBitNumber.BITS_4));
  assertEquals(0xA, in.getBitBuffer());
}