Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testDisconnect (0.48 sec)

  1. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

            // Connection should be established after connect
        }
    
        /**
         * Test that disconnect() calls disconnect() on the underlying connection and resets state.
         */
        @Test
        void testDisconnect() throws Exception {
            // Act
            ntlmConnection.disconnect();
    
            // Assert
            verify(mockConnection).disconnect();
            // Connection should be closed after disconnect
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
Back to top