public void testExplicit()
{
ManagedObject managedObject = createManagedObject(ManagementObjectExplicit.class);
checkManagedObjectDefaults(ManagementObjectExplicit.class, managedObject);
checkManagedProperties(managedObject, "property1");
DeploymentTemplateInfoFactory factory = new DeploymentTemplateInfoFactory();
DeploymentTemplateInfo info = factory.createTemplateInfo(managedObject, "testExplicit", "testExplicit");
log.info(info);
assertEquals("testExplicit", info.getName());
assertEquals("testExplicit", info.getDescription());
assertTrue("property1 is in template info", info.getProperties().containsKey("property1"));
}