Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testRandomKeyUniqueness (0.18 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java

            Smb2LeaseKey key2 = new Smb2LeaseKey(testBytes2);
    
            assertEquals(key1.hashCode(), key2.hashCode());
        }
    
        @Test
        @DisplayName("Should generate different random keys")
        void testRandomKeyUniqueness() {
            Smb2LeaseKey key1 = new Smb2LeaseKey();
            Smb2LeaseKey key2 = new Smb2LeaseKey();
    
            assertNotEquals(key1, key2);
            assertFalse(Arrays.equals(key1.getKey(), key2.getKey()));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 00:16:17 GMT 2025
    - 6K bytes
    - Click Count (0)
Back to Top