Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testSetupResponse (0.28 sec)

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

            negotiationResponse.setupRequest(null);
    
            // Assert
            verify(negotiationResponse).setupRequest(null);
        }
    
        @Test
        @DisplayName("Test setupResponse method")
        void testSetupResponse() {
            // Arrange
            doNothing().when(negotiationResponse).setupResponse(response);
    
            // Act
            negotiationResponse.setupResponse(response);
    
            // Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

            // Then - nothing should happen (empty implementation)
            verifyNoInteractions(request);
        }
    
        @Test
        @DisplayName("Should setup response correctly")
        void testSetupResponse() {
            // Given
            Response resp = mock(Response.class);
    
            // When
            response.setupResponse(resp);
    
            // Then - nothing should happen (empty implementation)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
Back to top