### Question:
JettyConfiguration { public static JettyConfiguration load(String path) { instance = new JettyConfiguration(path); return instance; } protected  JettyConfiguration(String path); static JettyConfiguration load(String path); static JettyConfiguration get(); DataSourceInfo getDatasourceInfo(String env); DataSourceInfo getDatasourceInfo();  }### Answer:
@Test public void testLoad() { DataSourceInfo dsTest = config.getDatasourceInfo("test"); assertEquals("jdbc/yawp_test", dsTest.getName()); assertEquals("org.postgresql.Driver", dsTest.getDriverClassName()); assertEquals("jdbc:postgresql: assertEquals("yawp_pg_driver_test", dsTest.getDatabaseName()); DataSourceInfo dsDevelopment = config.getDatasourceInfo("development"); assertEquals("jdbc/yawp_development", dsDevelopment.getName()); assertEquals("org.postgresql.Driver", dsDevelopment.getDriverClassName()); assertEquals("jdbc:postgresql: assertEquals("yawp_pg_driver_development", dsDevelopment.getDatabaseName()); }