Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testConstructorWithNullContext (0.17 sec)

  1. src/test/java/jcifs/https/HandlerTest.java

        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create handler with null context")
            void testConstructorWithNullContext() {
                // When
                Handler testHandler = new Handler(null);
    
                // Then
                assertNotNull(testHandler);
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

            // Then
            assertNotNull(client, "Should create client instance");
        }
    
        @Test
        @DisplayName("Should handle constructor with null context")
        void testConstructorWithNullContext() {
            // When/Then
            assertThrows(Exception.class, () -> {
                new NameServiceClientImpl(null);
            }, "Should throw exception for null context");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11K bytes
    - Viewed (0)
Back to top