- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testGetConfig (0.06 sec)
-
src/test/java/jcifs/context/CIFSContextWrapperTest.java
}); assertTrue(thrown.getMessage().contains("Invalid URL")); assertTrue(thrown.getCause() instanceof MalformedURLException); } @Test void testGetConfig() { // Test getConfig() method Configuration mockConfig = mock(Configuration.class); when(mockDelegate.getConfig()).thenReturn(mockConfig);
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(transportPool, context.getTransportPool(), "Should return same instance on multiple calls"); } @Test @DisplayName("getConfig should return the provided configuration") void testGetConfig() { // When Configuration config = context.getConfig(); // Then assertSame(mockConfig, config, "Should return the same configuration instance"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 15.1K bytes - Viewed (0)