Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for testIteratorNoSuchElementException (0.15 seconds)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java

          }
    
          @Override
          protected void verify(List<E> elements) {
            expectContents(elements);
          }
        }.test();
      }
    
      public void testIteratorNoSuchElementException() {
        Iterator<E> iterator = collection.iterator();
        while (iterator.hasNext()) {
          iterator.next();
        }
    
        assertThrows(NoSuchElementException.class, iterator::next);
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java

          }
    
          @Override
          protected void verify(List<E> elements) {
            expectContents(elements);
          }
        }.test();
      }
    
      public void testIteratorNoSuchElementException() {
        Iterator<E> iterator = collection.iterator();
        while (iterator.hasNext()) {
          iterator.next();
        }
    
        assertThrows(NoSuchElementException.class, iterator::next);
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.1K bytes
    - Click Count (0)
Back to Top