@Test public void testGet() { DataSource ds = mock( DataSource.class ); cachemanager.put( DS_NAME, ds ); assertThat( cachemanager.get( DS_NAME ), is( notNullValue() ) ); }
public DataSource get( final String dsName ) { return backend.get( dsName ); }
StaticDataSourceCacheManager implements DataSourceCacheManager, DataSourceCache { public DataSource get( final String dsName ) { return backend.get( dsName ); } }
StaticDataSourceCacheManager implements DataSourceCacheManager, DataSourceCache { public DataSource get( final String dsName ) { return backend.get( dsName ); } StaticDataSourceCacheManager(); }
StaticDataSourceCacheManager implements DataSourceCacheManager, DataSourceCache { public DataSource get( final String dsName ) { return backend.get( dsName ); } StaticDataSourceCacheManager(); void put( final String name, final DataSource pool ); void clear(); void remove( final String dsName ); DataSource get( final String dsName ); DataSourceCache getDataSourceCache(); }
StaticDataSourceCacheManager implements DataSourceCacheManager, DataSourceCache { public DataSource get( final String dsName ) { return backend.get( dsName ); } StaticDataSourceCacheManager(); void put( final String name, final DataSource pool ); void clear(); void remove( final String dsName ); DataSource get( final String dsName ); DataSourceCache getDataSourceCache();  }