Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testConstructorWithCredentials (0.08 sec)

  1. src/test/java/jcifs/context/BaseContextTest.java

            verify(mockConfig).getDefaultPassword();
            verify(mockConfig).getDefaultDomain();
        }
    
        @Test
        @DisplayName("Constructor should handle credentials from configuration")
        void testConstructorWithCredentials() throws CIFSException {
            // Given
            Configuration configWithCreds = mock(Configuration.class);
            when(configWithCreds.getDefaultUsername()).thenReturn("testuser");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.1K bytes
    - Viewed (0)
Back to top