Iterator<?> iterator = ((CollectionValue) mo.getProperty("components").getValue()).iterator();
ManagedObject component1 = (ManagedObject) ((GenericValue) iterator.next()).getValue();
ManagedObject component2 = (ManagedObject) ((GenericValue) iterator.next()).getValue();
// create the persistence information
TestMgtComponentImpl tComp1 = new TestMgtComponentImpl(component1);
PersistenceRoot root = getPersistenceFactory().updateComponent(mo, tComp1);
TestMgtComponentImpl tComp2 = new TestMgtComponentImpl(component2);
root = getPersistenceFactory().updateComponent(root, mo, tComp2);
assertNotNull(root.getComponents());
// serialize / deserialize
PersistenceRoot persisted = restore(root);