Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testSetURLStreamHandlerFactory_SuccessFirstTime (0.16 sec)

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

                handler.openConnection(new URL("unknownprotocol://somehost/path"));
            }, "Should throw IOException for an unknown protocol.");
        }
    
        @Test
        void testSetURLStreamHandlerFactory_SuccessFirstTime() {
            // This test verifies that a URLStreamHandlerFactory can be successfully set.
            URLStreamHandlerFactory mockFactory = mock(URLStreamHandlerFactory.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
Back to top