use of org.neo4j.consistency.report.ConsistencyReport.NodeConsistencyReport in project neo4j by neo4j.
the class NodeCheckerTest method shouldReportNodeLabelHigherThanInt.
@Test
void shouldReportNodeLabelHigherThanInt() throws Exception {
// given
try (AutoCloseable ignored = tx()) {
NodeRecord node = new NodeRecord(nodeStore.nextId(CursorContext.NULL)).initialize(true, NULL, false, NULL, 0x171f5bd081L);
nodeStore.updateRecord(node, CursorContext.NULL);
}
// when
check();
// then
expect(NodeConsistencyReport.class, NodeConsistencyReport::illegalLabel);
}
Aggregations