*/
public class DataSourceTestCase extends AbstractProxyTest
{
public void testConnectionManager() throws Exception
{
ConnectionManager cm = new TestConnectionManager();
ManagedConnectionFactory mcf = new TestManagedConnectionFactory();
SimpleMetaData metadata = new SimpleMetaData();
metadata.addMetaData(ConnectionFactoryInterceptor.CONNECTION_FACTORY, ConnectionFactoryInterceptor.CONNECTION_MANAGER, cm);
metadata.addMetaData(ConnectionFactoryInterceptor.CONNECTION_MANAGER, ConnectionFactoryInterceptor.MANAGED_CONNECTION_FACTORY, mcf);