@Test
public void testDecodeTypicalNegativeTimestamps() throws IOException {

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