Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testCreateResponseWithNullConfigFromContext (0.4 sec)

  1. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

            assertEquals(0, SMBUtil.readInt4(buffer, bodyOffset + 8)); // Channel field should always be 0
        }
    
        @Test
        @DisplayName("Should handle configuration with null context")
        void testCreateResponseWithNullConfigFromContext() {
            // Given
            CIFSContext nullConfigContext = mock(CIFSContext.class);
            when(nullConfigContext.getConfig()).thenReturn(null);
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            assertArrayEquals(pathBytes, actualPath);
        }
    
        @Test
        @DisplayName("Should handle response creation with null config from context")
        void testCreateResponseWithNullConfigFromContext() {
            // Given
            CIFSContext nullConfigContext = mock(CIFSContext.class);
            when(nullConfigContext.getConfig()).thenReturn(null);
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top