- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for locationHint (0.05 sec)
-
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
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (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
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0)