* The that addTypeElement works with a STRUCTURE PolicyTypeComposition.
*/
public void testAddTypeElementStructure() {
JDOMFactory factory = new DefaultJDOMFactory();
Element policy = factory.element("policy");
PolicyTypeComposition.STRUCTURE.addTypeElement(policy,
PolicyType.EMULATE_EMPHASIS_TAG, factory);
assertEquals("There should be a single child element of policy.",
1, policy.getChildren().size());
Element type = (Element) policy.getChildren().get(0);