@Test
public void testSkipToNextPage() throws Exception {

  FakeExtractorInput extractorInput =
      OggTestData.createInput(
          TestUtil.joinByteArrays(
              TestUtil.buildTestData(4000, random),
              new byte[] {'O', 'g', 'g', 'S'},
              TestUtil.buildTestData(4000, random)),
          false);
  skipToNextPage(extractorInput);
  assertThat(extractorInput.getPosition()).isEqualTo(4000);
}