Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testIteratorContract (0.97 seconds)

  1. src/test/java/jcifs/EmptyIteratorTest.java

            }, "EmptyIterator should work correctly in nested iteration");
        }
    
        @Test
        @DisplayName("EmptyIterator should follow Iterator contract for empty collections")
        void testIteratorContract() {
            // Given - typical Iterator usage pattern
    
            // When & Then - verify empty collection behavior
            assertFalse(emptyIterator.hasNext(), "Empty iterator should have no next element");
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12K bytes
    - Click Count (0)
Back to Top