ComponentType compType = new ComponentType("ConnectionFactory", "NoTx");
createComponentTest("NoTxConnectionFactoryTemplate", propValues, "testNoTxCf", compType, jndiName);
// Validate the config-property
ManagementView mgtView = getManagementView();
ManagedComponent dsMC = getManagedComponent(mgtView, compType, jndiName);
ManagedProperty configProperty = dsMC.getProperty("config-property");
assertNotNull(configProperty);
MetaValue value = configProperty.getValue();
assertTrue("MapCompositeMetaType", value.getMetaType() instanceof MapCompositeMetaType);
MapCompositeValueSupport cValue = (MapCompositeValueSupport) value;
cValue.put("testKey", new SimpleValueSupport(SimpleMetaType.STRING, "testValue"));
mgtView.updateComponent(dsMC);
mgtView = getManagementView();
dsMC = getManagedComponent(mgtView, compType, jndiName);
configProperty = dsMC.getProperty("config-property");
assertNotNull(configProperty);
cValue = (MapCompositeValueSupport) configProperty.getValue();
assertNotNull(cValue.get("testKey"));
}