@Test
public void testCreateExtractors_returnExpectedClasses() {

  DefaultExtractorsFactory defaultExtractorsFactory = new DefaultExtractorsFactory();
  Extractor[] extractors = defaultExtractorsFactory.createExtractors();
  List<Class<?>> listCreatedExtractorClasses = new ArrayList<>();
  for (Extractor extractor : extractors) {
    listCreatedExtractorClasses.add(extractor.getClass());
  }
  Class<?>[] expectedExtractorClassses =
      new Class<?>[] {
        MatroskaExtractor.class,
        FragmentedMp4Extractor.class,
        Mp4Extractor.class,
        Mp3Extractor.class,
        AdtsExtractor.class,
        Ac3Extractor.class,
        TsExtractor.class,
        FlvExtractor.class,
        OggExtractor.class,
        PsExtractor.class,
        WavExtractor.class,
        AmrExtractor.class,
        Ac4Extractor.class,
        FlacExtractor.class
      };
  assertThat(listCreatedExtractorClasses).containsNoDuplicates();
  assertThat(listCreatedExtractorClasses).containsExactlyElementsIn(expectedExtractorClassses);
}