Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for ctor_nullTree_throwsNPE (0.11 seconds)

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

                assertThrows(NullPointerException.class, () -> new SmbPipeOutputStream(null, tree));
            }
    
            @Test
            @DisplayName("Null tree handle triggers NullPointerException")
            void ctor_nullTree_throwsNPE() {
                // Arrange
                when(handle.getPipe()).thenReturn(pipe);
    
                // Act + Assert
                assertThrows(NullPointerException.class, () -> new SmbPipeOutputStream(handle, null));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.4K bytes
    - Click Count (0)
Back to Top