Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testToStringWithEmptyChallenge (0.2 sec)

  1. src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java

                // The hex should be "010203FF"
                assertTrue(result.contains("010203FF"));
            }
    
            @Test
            @DisplayName("toString with empty challenge array")
            void testToStringWithEmptyChallenge() {
                UniAddress dc = mock(UniAddress.class);
                when(dc.toString()).thenReturn("EMPTYSERVER");
    
                NtlmChallenge nc = new NtlmChallenge(new byte[0], dc);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6K bytes
    - Viewed (0)
Back to top