Package com.aichamorro.dal.datasource

Examples of com.aichamorro.dal.datasource.DataSource


  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);
  }
View Full Code Here

TOP

Related Classes of com.aichamorro.dal.datasource.DataSource

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.