Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testConstructorWithInvalidNonce (0.32 sec)

  1. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

            assertEquals(testSessionId, header.getSessionId());
        }
    
        @Test
        @DisplayName("Should throw exception for invalid nonce in constructor")
        void testConstructorWithInvalidNonce() {
            // Given
            byte[] invalidNonce = new byte[10]; // Wrong size
    
            // When/Then
            assertThrows(IllegalArgumentException.class, () -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
Back to top