use of org.neo4j.internal.schema.SchemaState in project neo4j by neo4j.
the class MultipleIndexPopulatorTest method before.
@BeforeEach
void before() {
indexStatisticsStore = mock(IndexStatisticsStore.class);
indexStoreView = mock(IndexStoreView.class);
when(indexStoreView.newPropertyAccessor(any(CursorContext.class), any())).thenReturn(mock(NodePropertyAccessor.class));
when(indexStoreView.visitNodes(any(), any(), any(), any(), anyBoolean(), anyBoolean(), any(), any())).thenReturn(mock(StoreScan.class));
schemaState = mock(SchemaState.class);
tokens = new InMemoryTokens();
multipleIndexPopulator = new MultipleIndexPopulator(indexStoreView, NullLogProvider.getInstance(), EntityType.NODE, schemaState, jobScheduler, tokens, PageCacheTracer.NULL, INSTANCE, "", AUTH_DISABLED, Config.defaults());
}
Aggregations