public void testConnectionInfoDriverManager() throws Exception {
ConfigHelper helper = new ConfigHelper();
helper.addConnectionInfo("org.apache.derby.jdbc.EmbeddedDriver","jdbc:derby:target/dastest", "user", "password", 600);
Config config = helper.getConfig();
ConnectionInfo info = config.getConnectionInfo();
assertNull(info.getDataSource());
assertEquals(info.getConnectionProperties().getDriverClass(), "org.apache.derby.jdbc.EmbeddedDriver");
assertEquals(info.getConnectionProperties().getDatabaseURL(), "jdbc:derby:target/dastest");
assertEquals(info.getConnectionProperties().getUserName(), "user");
assertEquals(info.getConnectionProperties().getPassword(), "password");
assertEquals(info.getConnectionProperties().getLoginTimeout(), 600);
}