- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testEmptyIterator (0.33 sec)
-
src/test/java/org/codelibs/core/collection/EmptyIteratorTest.java
public ExpectedException exception = ExpectedException.none(); /** * Test method for * {@link org.codelibs.core.collection.EmptyIterator#EmptyIterator()}. */ @Test public void testEmptyIterator() { final EmptyIterator<String> emptyIterator = new EmptyIterator<String>(); assertThat(emptyIterator, is(notNullValue())); } /**
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
suite.addTest(testsForRemoveAllAndRetainAll()); suite.addTestSuite(IteratorsTest.class); return suite; } @SuppressWarnings("DoNotCall") public void testEmptyIterator() { Iterator<String> iterator = Iterators.emptyIterator(); assertFalse(iterator.hasNext()); try { iterator.next(); fail("no exception thrown"); } catch (NoSuchElementException expected) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 03 13:01:51 UTC 2024 - 55.7K bytes - Viewed (0)