public void testCreateComponentDefPooledSpringContext() throws Exception {
//
// create empty config
BaseConfigurationImpl config = new BaseConfigurationImpl();
//
// create pooled test component
BaseComponentDefImpl componentDef = new BaseComponentDefImpl();
componentDef.setId("testComponent");
componentDef.setComponentClassname(TestComponent.class.getName());
componentDef.setType("pooled");
componentDef.setMaxCapacity(3);
//
// add properties to component
componentDef.setProperty("field01","test_string_field");
componentDef.setProperty("field02","13");
//
// add component to configuration
config.add(componentDef);
//
// create SpringResourceManagerImpl
//TODO:SpringResourceManagerImpl rm = new SpringResourceManagerImpl();
//
// create spring context