- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for forClass (0.03 sec)
-
src/test/java/jcifs/http/NtlmServletTest.java
when(request.getSession()).thenReturn(session); ntlmServlet.service(request, response); ArgumentCaptor<NtlmPasswordAuthentication> authCaptor = ArgumentCaptor.forClass(NtlmPasswordAuthentication.class); verify(session).setAttribute(eq("NtlmHttpAuth"), authCaptor.capture()); NtlmPasswordAuthentication capturedAuth = authCaptor.getValue();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmSspTest.java
// Verify assertNull(result, "Authentication result should be null"); // Capture the header value to verify its contents ArgumentCaptor<String> headerCaptor = ArgumentCaptor.forClass(String.class); verify(mockResponse).setHeader(eq("WWW-Authenticate"), headerCaptor.capture()); String headerValue = headerCaptor.getValue();Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 11.4K bytes - Viewed (1)