ManagedProperty nameAsProperties = managedObject.getProperty("nameAsDefault");
MetaValue defaultValue = nameAsProperties.getDefaultValue();
assertNotNull(defaultValue);
getLog().debug("nameAsProperties default: "+defaultValue);
assertEquals(ObjectNameTypeBuilder.META_TYPE, defaultValue.getMetaType());
PropertiesCompositeObjectNameMetaMapper mapper = new PropertiesCompositeObjectNameMetaMapper();
MetaValue expected = mapper.createMetaValue(null, new ObjectName("domain1:key1=value1,key2=value2"));
assertEquals(expected, defaultValue);
}