@Test public void testGetDatabaseUrl() throws Exception { SinkConnectionFactory factory = getFactory("myURL", "myDriver"); Assert.assertEquals("myURL", factory.getDatabaseUrl()); }
public String getDatabaseUrl() { return databaseUrl; }
SinkConnectionFactory implements ConnectionFactory { public String getDatabaseUrl() { return databaseUrl; } }
SinkConnectionFactory implements ConnectionFactory { public String getDatabaseUrl() { return databaseUrl; } protected  SinkConnectionFactory(); }
SinkConnectionFactory implements ConnectionFactory { public String getDatabaseUrl() { return databaseUrl; } protected  SinkConnectionFactory(); void init(Configuration configuration); static SinkConnectionFactory instance(); String getDatabaseUrl(); String getDatabaseDriver(); @Override Connection getConnection(); }
SinkConnectionFactory implements ConnectionFactory { public String getDatabaseUrl() { return databaseUrl; } protected  SinkConnectionFactory(); void init(Configuration configuration); static SinkConnectionFactory instance(); String getDatabaseUrl(); String getDatabaseDriver(); @Override Connection getConnection();  }