Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testNullProperties (0.23 sec)

  1. src/test/java/jcifs/config/PropertyConfigurationTest.java

            assertEquals("testpass", config.getDefaultPassword());
            assertEquals("testdomain", config.getDefaultDomain());
        }
    
        @Test
        @DisplayName("Should handle null properties gracefully")
        void testNullProperties() throws CIFSException {
            // PropertyConfiguration doesn't handle null properties
            // It should throw NullPointerException
            assertThrows(NullPointerException.class, () -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
Back to top