return result;
}
public void testUpdatedStandardBindings() throws Exception
{
ManagedComponent component = getServiceBindingManagerManagedComponent();
logHierarchy(component);
Map<String, ManagedProperty> properties = component.getProperties();
assertNotNull(properties);
ManagedProperty prop = properties.get("standardBindings");
// Before passing the updated component back, store some info about
// the binding sets so we can use it later
prop = properties.get("bindingSets");
assertNotNull("Missing property bindingSets", prop);
MetaValue val = prop.getValue();
assertNotNull("property bindingSets has no value", val);
assertTrue("property bindingSets value is CollectionValue", val instanceof CollectionValue);
MetaValue[] elements = ((CollectionValue) val).getElements();
assertNotNull(elements);
// C) Validate update from B)
component = getServiceBindingManagerManagedComponent();
properties = component.getProperties();
Map<String, Integer> offsets = new HashMap<String, Integer>();
Map<String, String> hosts = new HashMap<String, String>();
for (MetaValue mv : elements)
{