use of org.neo4j.internal.kernel.api.Procedures in project neo4j by neo4j.
the class SchemaProcedureIT method testEmptyGraph.
@Test
void testEmptyGraph() throws Throwable {
// Given the database is empty
// When
Procedures procs = procs();
RawIterator<AnyValue[], ProcedureException> stream = procs.procedureCallRead(procs.procedureGet(procedureName("db", "schema", "visualization")).id(), new AnyValue[0], ProcedureCallContext.EMPTY);
// Then
assertThat(asList(stream)).containsExactly(new AnyValue[] { EMPTY_LIST, EMPTY_LIST });
}
Aggregations