- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for testGetRemoteUser (0.25 seconds)
-
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);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 2.7K bytes - Click Count (0)