use of org.neo4j.harness.Neo4j in project neo4j by neo4j.
the class Neo4jExtension method beforeAll.
@Override
public void beforeAll(ExtensionContext context) {
Neo4j neo = builder.build();
DatabaseManagementService managementService = neo.databaseManagementService();
GraphDatabaseService service = neo.defaultDatabaseService();
context.getStore(NAMESPACE).put(Neo4j.class, neo);
context.getStore(NAMESPACE).put(DatabaseManagementService.class, managementService);
context.getStore(NAMESPACE).put(GraphDatabaseService.class, service);
}
Aggregations