Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testCloseWithException (0.09 seconds)

  1. src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java

            iterator.close();
    
            // Then
            verify(mockDelegate).close();
        }
    
        /**
         * Test close method propagates exception.
         */
        @Test
        void testCloseWithException() throws CIFSException {
            // Given
            when(mockDelegate.hasNext()).thenReturn(false);
            CIFSException exception = new CIFSException("Test exception");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 14.4K bytes
    - Click Count (0)
Back to Top