AbstractManagedObjectFactory mof = new AbstractManagedObjectFactory();
mof.setInstanceClassFactory(ManagementObjectWithRuntimeRef.class, new ManagementObjectWithRuntimeRefICF());
testMOF = mof;
ManagementObjectWithRuntimeRef mowref = new ManagementObjectWithRuntimeRef();
mowref.setRefName(new CustomName("jboss:test=testTransformer"));
ManagedObject managedObject = initManagedObject(mowref);
createManagedObject(ManagementObjectChangedName.class);
assertEquals("jboss:test=testTransformer", managedObject.getComponentName());
}