@Test
public void testDecodeEmpty() throws IOException {

  SubripDecoder decoder = new SubripDecoder();
  byte[] bytes = TestUtil.getByteArray(ApplicationProvider.getApplicationContext(), EMPTY_FILE);
  Subtitle subtitle = decoder.decode(bytes, bytes.length, false);
  assertThat(subtitle.getEventTimeCount()).isEqualTo(0);
  assertThat(subtitle.getCues(0).isEmpty()).isTrue();
}