assertTrue(typeDef.getElements().contains(typeDef.getXmlID()));
assertEquals(XmlAccessType.PROPERTY, typeDef.getAccessType());
TypeDeclaration declaration = getDeclaration("org.codehaus.enunciate.samples.schema.UnsupportedTypeDefBean");
FieldDeclaration mixed = findField(declaration, "mixedProperty");
FieldDeclaration anyElement = findField(declaration, "anyElementProperty");
FieldDeclaration anyAttribute = findField(declaration, "anyAttributeProperty");
assertTrue(typeDef.isUnsupported(mixed));
assertFalse(typeDef.isUnsupported(anyElement));
assertFalse(typeDef.isUnsupported(anyAttribute));
}