private PropertyStore propertyStore() { return graphdb .getGraphDatabaseAPI() .getDependencyResolver() .resolveDependency(NeoStoreDataSource.class) .getNeoStore() .getPropertyStore(); }
@Before public void before() { GraphDatabaseAPI graphDatabaseAPI = dbRule.getGraphDatabaseAPI(); this.db = graphDatabaseAPI; DependencyResolver dependencyResolver = graphDatabaseAPI.getDependencyResolver(); this.bridge = dependencyResolver.resolveDependency(ThreadToStatementContextBridge.class); graphDatabaseAPI .getDependencyResolver() .resolveDependency(Monitors.class) .addMonitorListener(indexOnlineMonitor); }