Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testCanReuseWithForceSigning (0.1 seconds)

  1. src/test/java/jcifs/internal/SmbNegotiationResponseTest.java

            assertEquals(expectedCredits, credits);
            verify(negotiationResponse).getInitialCredits();
        }
    
        @Test
        @DisplayName("Test canReuse returns true with force signing")
        void testCanReuseWithForceSigning() {
            // Arrange
            when(negotiationResponse.canReuse(cifsContext, true)).thenReturn(true);
    
            // Act
            boolean result = negotiationResponse.canReuse(cifsContext, true);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.6K bytes
    - Click Count (0)
Back to Top