// Given
ManagedObjectRepresentation parent = inventory.create(aSampleMo().withName("parent").build());
ManagedObjectRepresentation child1 = inventory.create(aSampleMo().withName("child1").build());
ManagedObjectRepresentation child2 = inventory.create(aSampleMo().withName("child2").build());
ManagedObjectReferenceRepresentation childRef1 = anMoRefRepresentationLike(MO_REF_REPRESENTATION).withMo(
child1).build();
// When
ManagedObject parentMo = inventory.getManagedObject(parent.getId());
parentMo.addChildAssets(childRef1);