FulltextBinaryTextExtractor { public TikaConfig getTikaConfig(){ if (tikaConfig == null) { tikaConfig = initializeTikaConfig(definition); } return tikaConfig.config; } FulltextBinaryTextExtractor(ExtractedTextCache extractedTextCache, IndexDefinition definition, boolean reindex); void done(boolean reindex); List<String> newBinary(
      PropertyState property, NodeState state, String path); TikaConfig getTikaConfig();  }
@Test public void tikaConfigServiceLoader() throws Exception { IndexDefinition idxDefn = new IndexDefinition(root, builder.getNodeState(), "/foo"); FulltextBinaryTextExtractor extractor = new FulltextBinaryTextExtractor(cache, idxDefn, false); assertTrue(extractor.getTikaConfig().getServiceLoader().isDynamic()); }