@Test
public void testDecodeTypical() throws IOException {

  SubripDecoder decoder = new SubripDecoder();
  byte[] bytes = TestUtil.getByteArray(ApplicationProvider.getApplicationContext(), TYPICAL_FILE);
  Subtitle subtitle = decoder.decode(bytes, bytes.length, false);
  assertThat(subtitle.getEventTimeCount()).isEqualTo(6);
  assertTypicalCue1(subtitle, 0);
  assertTypicalCue2(subtitle, 2);
  assertTypicalCue3(subtitle, 4);
}