cdHandler = new ComponentDefHandler(vendor.getComponentDefDescriptor(), source, xmlReader);
}
public void testReadAttributes() throws Exception {
cdHandler.readAttributes();
ComponentDefImpl cd = (ComponentDefImpl) cdHandler.createDefinition();
assertEquals(vendor.getParentComponentDefDescriptor(), cd.getExtendsDescriptor());
assertEquals(vendor.getInterfaceDefDescriptor(), cd.getInterfaces().iterator().next());
assertTrue(cd.isAbstract());
assertTrue(cd.isExtensible());
assertFalse(cd.isTemplate());
}