use of org.neo4j.kernel.impl.store.RecordCursors in project neo4j by neo4j.
the class StoreIteratorRelationshipCursorTest method createRelationshipCursor.
private StoreIteratorRelationshipCursor createRelationshipCursor(RelationshipRecord relationshipRecord, RelationshipStore relationshipStore) {
RecordCursors recordCursors = newRecordCursorsWithMockedNeoStores(relationshipStore);
InstanceCache<StoreIteratorRelationshipCursor> instanceCache = new TestCursorCache();
return new StoreIteratorRelationshipCursor(relationshipRecord, instanceCache, recordCursors, LockService.NO_LOCK_SERVICE);
}
Aggregations