Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testGetMaxTransactSize (0.35 sec)

  1. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

            byte[] result = response.getSecurityBlob();
    
            // Then
            assertArrayEquals(blob, result);
        }
    
        @Test
        @DisplayName("Should return max transact size")
        void testGetMaxTransactSize() throws Exception {
            // Given
            setPrivateField(response, "maxTransactSize", 1048576);
    
            // When
            int size = response.getMaxTransactSize();
    
            // Then
    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