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