//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void iterateOverLabeledNodeIds()
        public virtual void IterateOverLabeledNodeIds()
        {
            PrimitiveLongResourceIterator labeledNodes = PrimitiveLongResourceCollections.iterator(null, 1, 2, 4, 8);

            when(_nodeStore.HighId).thenReturn(15L);
            int[] labelIds = new int[] { 1, 2 };
            when(_labelScanReader.nodesWithAnyOfLabels(labelIds)).thenReturn(labeledNodes);

            LabelScanViewNodeStoreScan <Exception> storeScan  = GetLabelScanViewStoreScan(labelIds);
            PrimitiveLongResourceIterator          idIterator = storeScan.EntityIdIterator;
            IList <long> visitedNodeIds = PrimitiveLongCollections.asList(idIterator);

            assertThat(visitedNodeIds, Matchers.hasSize(4));
            assertThat(visitedNodeIds, Matchers.hasItems(1L, 2L, 4L, 8L));
        }
 internal LabelScanViewNodeStoreWrapper(MultiIndexPopulationConcurrentUpdatesIT outerInstance, StorageReader storageReader, LockService locks, LabelScanStore labelScanStore, Visitor <NodeLabelUpdate, FAILURE> labelUpdateVisitor, Visitor <EntityUpdates, FAILURE> propertyUpdatesVisitor, int[] labelIds, System.Func <int, bool> propertyKeyIdFilter, LabelScanViewNodeStoreScan <FAILURE> @delegate, ThreadStart customAction) : base(storageReader, locks, labelScanStore, labelUpdateVisitor, propertyUpdatesVisitor, labelIds, propertyKeyIdFilter)
 {
     this._outerInstance = outerInstance;
     this.Delegate       = @delegate;
     this.CustomAction   = customAction;
 }