protected ContentRepository createRepository() {
TestUtils provider = new TestUtils();
solrServer = provider.getSolrServer();
try {
return new Oak().with(new InitialContent())
.with(new OpenSecurityProvider())
.with(new SolrQueryIndexProvider(provider, provider))
.with(new SolrIndexEditorProvider(provider, provider))
.createContentRepository();
} catch (Exception e) {
throw new RuntimeException(e);