/**
* Simple unit test for ConnectionInfo using DriverManager
* @throws Exception
*/
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");