Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testCloseMethod (0.06 seconds)

  1. src/test/java/jcifs/CloseableIteratorTest.java

    @DisplayName("CloseableIterator Tests")
    class CloseableIteratorTest extends BaseTest {
    
        @Mock
        private CloseableIterator<SmbResource> mockIterator;
    
        @Test
        @DisplayName("Should define close method")
        void testCloseMethod() throws CIFSException {
            // When
            mockIterator.close();
    
            // Then
            verify(mockIterator).close();
        }
    
        @Test
        @DisplayName("Should extend Iterator and AutoCloseable")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 964 bytes
    - Click Count (0)
Back to Top