TikaHelper { public boolean isSupportedMediaType(String type) { return supportedMediaTypes.contains(MediaType.parse(type)); } TikaHelper(@Nullable File tikaConfig); Parser getParser(); boolean isSupportedMediaType(String type); boolean isIndexed(String type);  }
@Test public void supportedTypes() throws Exception { TikaHelper tika = new TikaHelper(null); assertTrue(tika.isSupportedMediaType("text/plain")); }