@Test
public void testDecodeTypicalMissingTimecode() throws IOException {

  // Parsing should succeed, parsing the first and third cues only.
  SubripDecoder decoder = new SubripDecoder();
  byte[] bytes =
      TestUtil.getByteArray(
          ApplicationProvider.getApplicationContext(), TYPICAL_MISSING_TIMECODE);
  Subtitle subtitle = decoder.decode(bytes, bytes.length, false);
  assertThat(subtitle.getEventTimeCount()).isEqualTo(4);
  assertTypicalCue1(subtitle, 0);
  assertTypicalCue3(subtitle, 2);
}