@Test
public void testSkipBits() {

  VorbisBitArray bitArray = new VorbisBitArray(TestUtil.createByteArray(0xF0, 0x0F));
  bitArray.skipBits(10);
  assertThat(bitArray.getPosition()).isEqualTo(10);
  assertThat(bitArray.readBit()).isTrue();
  assertThat(bitArray.readBit()).isTrue();
  assertThat(bitArray.readBit()).isFalse();
  bitArray.skipBits(1);
  assertThat(bitArray.getPosition()).isEqualTo(14);
  assertThat(bitArray.readBit()).isFalse();
  assertThat(bitArray.readBit()).isFalse();
}