//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test void reportNodeWithoutLabelsWhenLabelsAreDynamic()
        internal virtual void ReportNodeWithoutLabelsWhenLabelsAreDynamic()
        {
            int nodeId = 42;

            long[] indexLabelIds   = new long[] { 3, 7, 9, 10 };
            long[] storeLabelIds   = new long[] {};
            long[] missingLabelIds = new long[] { 3, 7, 9, 10 };

            RecordAccessStub recordAccess = new RecordAccessStub();
            NodeRecord       node         = inUse(WithDynamicLabels(recordAccess, new NodeRecord(nodeId, false, 0, 0), storeLabelIds));

            Org.Neo4j.Consistency.report.ConsistencyReport_LabelScanConsistencyReport report = mock(typeof(Org.Neo4j.Consistency.report.ConsistencyReport_LabelScanConsistencyReport));

            // when
            CheckerEngine <LabelScanDocument, Org.Neo4j.Consistency.report.ConsistencyReport_LabelScanConsistencyReport> engine = recordAccess.Engine(null, report);

            Checker(indexLabelIds, true).checkReference(null, node, engine, recordAccess);
            recordAccess.CheckDeferred();

            // then
            foreach (long missingLabelId in missingLabelIds)
            {
                verify(report).nodeDoesNotHaveExpectedLabel(node, missingLabelId);
            }
        }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test void shouldReportNodeWithoutExpectedLabelWhenLabelsAreDynamicBothDirections()
        internal virtual void ShouldReportNodeWithoutExpectedLabelWhenLabelsAreDynamicBothDirections()
        {
            // given
            int nodeId = 42;

            long[] indexLabelIds = new long[] { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };
            long[] storeLabelIds = new long[] { 1, 2, 3, 4, 5, 6, 8, 9, 10, 11 };

            RecordAccessStub recordAccess = new RecordAccessStub();
            NodeRecord       node         = inUse(WithDynamicLabels(recordAccess, new NodeRecord(nodeId, false, 0, 0), storeLabelIds));

            Org.Neo4j.Consistency.report.ConsistencyReport_LabelScanConsistencyReport report = mock(typeof(Org.Neo4j.Consistency.report.ConsistencyReport_LabelScanConsistencyReport));

            // when
            CheckerEngine <LabelScanDocument, Org.Neo4j.Consistency.report.ConsistencyReport_LabelScanConsistencyReport> engine = recordAccess.Engine(null, report);

            Checker(indexLabelIds, true).checkReference(null, node, engine, recordAccess);
            recordAccess.CheckDeferred();

            // then
            verify(report).nodeDoesNotHaveExpectedLabel(node, 7);
            verify(report).nodeLabelNotInIndex(node, 11);
        }