- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testGetRemoteUser (0.06 sec)
-
src/test/java/jcifs/http/NtlmHttpServletRequestTest.java
} /** * Test method for {@link NtlmHttpServletRequest#getRemoteUser()}. * Verifies that the method returns the name of the principal. */ @Test void testGetRemoteUser() { // Arrange: Define the expected user name from the principal String expectedUserName = "testUser"; when(mockPrincipal.getName()).thenReturn(expectedUserName);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 2.7K bytes - Viewed (0)