public class QueryTest extends AbstractQueryTest {
@Override
protected ContentRepository createRepository() {
// the property and prefix index currently require the index wrapper
IndexWrapper mk = new IndexWrapper(new MicroKernelImpl(),
"/" + INDEX_DEFINITIONS_NAME + "/indexes");
PropertyIndexer indexer = new PropertyIndexer(mk.getIndexer());
return new Oak(mk)
.with(new InitialContent())
.with((QueryIndexProvider) indexer)
.with((CommitHook) indexer)