Identification identification = component.getIdentification();
assertNotNull("identification is null", identification);
assertEquals("getName", "example-engine-1", identification.getName());
assertEquals("getDescription", "An example service engine", identification.getDescription());
InstallationDescriptorExtension descriptorExtension = component.getDescriptorExtension();
assertNotNull("descriptorExtension is null", descriptorExtension);
DocumentFragment fragment = descriptorExtension.getDescriptorExtension();
assertNotNull("fragment is null", fragment);
System.out.println("Created document fragment: " + fragment);
System.out.println("XML: " + transformer.toString(new DOMSource(fragment)));
}