Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testConstructorWithNullPrincipal (1.46 sec)

  1. src/test/java/jcifs/smb1/http/NtlmHttpServletRequestTest.java

            assertEquals(name, request.getRemoteUser());
            verify(mockPrincipal, times(1)).getName();
        }
    
        @Test
        @DisplayName("constructor accepts null principal")
        void testConstructorWithNullPrincipal(@Mock HttpServletRequest mockRequest) {
            // Constructor accepts null principal without throwing exception
            NtlmHttpServletRequest request = new NtlmHttpServletRequest(mockRequest, null);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top