Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for setupParentForUrlCreation (0.08 sec)

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

        @BeforeEach
        void setup() {
            // Use a real CIFS context to provide a working URLStreamHandler for smb:// URLs
            this.ctx = SingletonContext.getInstance();
        }
    
        private void setupParentForUrlCreation() throws CIFSException {
            // Only set up parent mocks when they're actually needed for URL creation
            when(parent.getContext()).thenReturn(this.ctx);
            when(parent.getLocator()).thenReturn(parentLocator);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
Back to top