final Element childXmlElement = service.convert( childElement.resource(), Element.class );
final XmlResource childXmlResource = (XmlResource) childElement.resource();
assertNotNull( childXmlElement );
assertSame( childXmlElement, childXmlResource.getXmlElement().getDomNode() );
assertSame( childXmlElement, childXmlResource.adapt( Element.class ) );
assertNotSame( childXmlElement, xmlElement );
}
@Test