Search Options

Display Count
Sort
Preferred Language
Advanced Search

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

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

            when(transport.isSMB2()).thenThrow(new SmbException("negotiation missing"));
            assertFalse(handle.isSMB2());
        }
    
        @Test
        @DisplayName("Null treeConnection throws NPE")
        void constructorNullTreeConnection() {
            // Null treeConnection throws NPE when acquire() is called
            assertThrows(NullPointerException.class, () -> new SmbTreeHandleImpl(resourceLoc, null));
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.4K bytes
    - Click Count (0)
Back to Top