Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testGetTransportContext (0.83 sec)

  1. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

            }
        }
    
        @Nested
        @DisplayName("Getter Method Tests")
        class GetterTests {
    
            @Test
            @DisplayName("Should return correct transport context")
            void testGetTransportContext() throws Exception {
                DcerpcPipeHandle handle = createMockedDcerpcPipeHandle();
                assertEquals(mockContext, handle.getTransportContext());
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbFileTest.java

            @Test
            void testClose() {
                // Act
                smbFile.close();
    
                // Assert - should not throw exception
            }
    
            @Test
            void testGetTransportContext() {
                // Act & Assert
                assertEquals(mockCifsContext, smbFile.getTransportContext());
            }
        }
    
        @Nested
        class WhenHandlingPaths {
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.8K bytes
    - Viewed (0)
Back to top