- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for testGetNameServiceClient (0.08 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/CIFSContextTest.java
// Then assertEquals(mockConfig, config); verify(mockContext).getConfig(); } @Test @DisplayName("Should get NameServiceClient") void testGetNameServiceClient() { // Given NameServiceClient mockClient = mock(NameServiceClient.class); when(mockContext.getNameServiceClient()).thenReturn(mockClient); // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.8K 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)