Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testIteratorWithFilterRejectingAll (0.15 sec)

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

            verify(mockFilter, times(2)).accept(any(SmbResource.class));
        }
    
        /**
         * Test iterator with filter that rejects all elements.
         */
        @Test
        void testIteratorWithFilterRejectingAll() throws CIFSException {
            // Given
            when(mockDelegate.hasNext()).thenReturn(true, true, false);
            when(mockDelegate.next()).thenReturn(mockFileEntry1, mockFileEntry2);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
Back to top