- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testGetConfig (3.19 sec)
-
src/test/java/jcifs/SmbTreeHandleTest.java
@Mock private Configuration mockConfig; /** * Test for getConfig() method. * Verifies that the method returns the expected Configuration object. */ @Test void testGetConfig() { when(smbTreeHandle.getConfig()).thenReturn(mockConfig); Configuration config = smbTreeHandle.getConfig(); assertNotNull(config, "Configuration should not be null");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/CIFSContextTest.java
// When mockContext.close(); // Then verify(mockContext).close(); } @Test @DisplayName("Should get Configuration") void testGetConfig() { // Given Configuration mockConfig = mock(Configuration.class); when(mockContext.getConfig()).thenReturn(mockConfig); // 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)