@Test
public void testSimpleSubtitleText() {

  // Test before first subtitle
  assertSingleCueEmpty(simpleSubtitle.getCues(0));
  assertSingleCueEmpty(simpleSubtitle.getCues(500000));
  assertSingleCueEmpty(simpleSubtitle.getCues(999999));
  // Test first subtitle
  assertSingleCueTextEquals(FIRST_SUBTITLE_STRING, simpleSubtitle.getCues(1000000));
  assertSingleCueTextEquals(FIRST_SUBTITLE_STRING, simpleSubtitle.getCues(1500000));
  assertSingleCueTextEquals(FIRST_SUBTITLE_STRING, simpleSubtitle.getCues(1999999));
  // Test after first subtitle, before second subtitle
  assertSingleCueEmpty(simpleSubtitle.getCues(2000000));
  assertSingleCueEmpty(simpleSubtitle.getCues(2500000));
  assertSingleCueEmpty(simpleSubtitle.getCues(2999999));
  // Test second subtitle
  assertSingleCueTextEquals(SECOND_SUBTITLE_STRING, simpleSubtitle.getCues(3000000));
  assertSingleCueTextEquals(SECOND_SUBTITLE_STRING, simpleSubtitle.getCues(3500000));
  assertSingleCueTextEquals(SECOND_SUBTITLE_STRING, simpleSubtitle.getCues(3999999));
  // Test after second subtitle
  assertSingleCueEmpty(simpleSubtitle.getCues(4000000));
  assertSingleCueEmpty(simpleSubtitle.getCues(4500000));
  assertSingleCueEmpty(simpleSubtitle.getCues(Long.MAX_VALUE));
}