def METHOD_NAME(self):
    attr = AttrFactory.create(tag=Tag.ELEMENT)
    self.assertEqual("Element", attr.xml_type)
    attr = AttrFactory.create(tag=Tag.ATTRIBUTE)
    self.assertEqual("Attribute", attr.xml_type)
    attr = AttrFactory.create(tag=Tag.ANY_ATTRIBUTE)
    self.assertEqual("Attributes", attr.xml_type)
    attr = AttrFactory.create(tag=Tag.ANY)
    self.assertEqual("Wildcard", attr.xml_type)
    attr = AttrFactory.create(tag=Tag.RESTRICTION)
    self.assertIsNone(attr.xml_type)