Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testImmutability (0.07 sec)

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

            assertEquals(2048, negotiationWithLargeBuffers.getResponseRaw().length);
        }
    
        @Test
        @DisplayName("Fields should be immutable after construction")
        void testImmutability() {
            // Get references to the objects
            SmbNegotiationRequest originalRequest = negotiation.getRequest();
            SmbNegotiationResponse originalResponse = negotiation.getResponse();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            }, "Should accept different key sizes");
        }
    
        @Test
        @DisplayName("Should be immutable after creation")
        void testImmutability() {
            // Given
            int originalCipherId = encryptionContext.getCipherId();
            DialectVersion originalDialect = encryptionContext.getDialect();
    
            // When - Modify the original key array
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
Back to top