public static Test suite() {
return new TestSuite( DataAccessLayerTest.class );
}
public void testDataAccessLayerAddDataSource() {
DataSource ds = mock(DataSource.class);
DataAccessLayer dal = new DataAccessLayer();
dal.addDataSource(ds, "DataSourceId");
assertEquals(dal.on("DataSourceId"), ds);
}