//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test public void mustHandleMultipleEmptyIterators() public virtual void MustHandleMultipleEmptyIterators() { // given IList <PrimitiveLongResourceIterator> iterators = AsMutableList(emptyIterator(), emptyIterator(), emptyIterator()); // when CompositeLabelScanValueIterator iterator = new CompositeLabelScanValueIterator(iterators, false); // then assertFalse(iterator.HasNext()); }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test public void mustHandleEmptyListOfIterators() public virtual void MustHandleEmptyListOfIterators() { // given IList <PrimitiveLongResourceIterator> iterators = emptyList(); // when CompositeLabelScanValueIterator iterator = new CompositeLabelScanValueIterator(iterators, false); // then assertFalse(iterator.HasNext()); try { iterator.Next(); fail("Expected iterator to throw"); } catch (NoSuchElementException) { // Good } }