@Test
    public void getNotExistingDriverTest() {
        assertThrows(PlcConnectionException.class,
            () -> new DefaultPlcDriverManager().getConnection("non-existing-protocol://some-cool-url"));
    }
In this test case a driver is requested which is not registered with the PlcDriverManager.

@throws PlcConnectionException something went wrong
plc4j/api/src/test/java/org/apache/plc4x/java/PlcDriverManagerTest.java