@Test public void getInvalidUriTest() throws PlcConnectionException { assertThrows(PlcConnectionException.class, () -> new PlcDriverManager().getConnection("The quick brown fox jumps over the lazy dog")); }
public PlcConnection getConnection(String url) throws PlcConnectionException { PlcDriver driver = getDriver(url); PlcConnection connection = driver.getConnection(url); connection.connect(); return connection; }
PlcDriverManager { public PlcConnection getConnection(String url) throws PlcConnectionException { PlcDriver driver = getDriver(url); PlcConnection connection = driver.getConnection(url); connection.connect(); return connection; } }
PlcDriverManager { public PlcConnection getConnection(String url) throws PlcConnectionException { PlcDriver driver = getDriver(url); PlcConnection connection = driver.getConnection(url); connection.connect(); return connection; } PlcDriverManager();  PlcDriverManager(ClassLoader classLoader); }
PlcDriverManager { public PlcConnection getConnection(String url) throws PlcConnectionException { PlcDriver driver = getDriver(url); PlcConnection connection = driver.getConnection(url); connection.connect(); return connection; } PlcDriverManager();  PlcDriverManager(ClassLoader classLoader); PlcConnection getConnection(String url); PlcConnection getConnection(String url, PlcAuthentication authentication); @Experimental PlcDriver getDriver(String url); }
PlcDriverManager { public PlcConnection getConnection(String url) throws PlcConnectionException { PlcDriver driver = getDriver(url); PlcConnection connection = driver.getConnection(url); connection.connect(); return connection; } PlcDriverManager();  PlcDriverManager(ClassLoader classLoader); PlcConnection getConnection(String url); PlcConnection getConnection(String url, PlcAuthentication authentication); @Experimental PlcDriver getDriver(String url);  }