@Test
    public void getInvalidUriTest() throws PlcConnectionException {
        assertThrows(PlcConnectionException.class,
            () -> new DefaultPlcDriverManager().getConnection("The quick brown fox jumps over the lazy dog"));
    }
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