- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testGetNameServiceClient (0.16 sec)
-
src/test/java/jcifs/context/CIFSContextWrapperTest.java
assertFalse(cifsContextWrapper.renewCredentials(locationHint, error)); verify(mockDelegate).renewCredentials(locationHint, error); } @Test void testGetNameServiceClient() { // Test getNameServiceClient() method NameServiceClient mockNameServiceClient = mock(NameServiceClient.class); when(mockDelegate.getNameServiceClient()).thenReturn(mockNameServiceClient);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/jcifs/context/BaseContextTest.java
assertSame(dfs, context.getDfs(), "Should return same instance on multiple calls"); } @Test @DisplayName("getNameServiceClient should return initialized name service client") void testGetNameServiceClient() { // When NameServiceClient nameServiceClient = context.getNameServiceClient(); // Then assertNotNull(nameServiceClient, "Name service client should not be null");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 15.1K bytes - Viewed (0)