- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for locationHint (0.14 seconds)
-
src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java
eq("locationHint"), eq((SmbAuthException) null))).thenReturn(mockNtlmPasswordAuthenticator); // Perform the renewal boolean renewed = wrapper.renewCredentials("locationHint", null); // Verify that NtlmAuthenticator was used and credentials were updated
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.4K bytes - Click Count (0) -
src/test/java/jcifs/context/CIFSContextWrapperTest.java
// Test renewCredentials(String locationHint, Throwable error) method when true String locationHint = "testLocation"; Throwable error = new RuntimeException("testError"); when(mockDelegate.renewCredentials(locationHint, error)).thenReturn(true); assertTrue(cifsContextWrapper.renewCredentials(locationHint, error)); verify(mockDelegate).renewCredentials(locationHint, error); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.7K bytes - Click Count (0)