@Test
public void testSkipToNextPageNoMatch() throws Exception {

  FakeExtractorInput extractorInput =
      OggTestData.createInput(new byte[] {'g', 'g', 'S', 'O', 'g', 'g'}, false);
  try {
    skipToNextPage(extractorInput);
    fail();
  } catch (EOFException e) {
    // expected
  }
}