def METHOD_NAME(self):
    target = ClassFactory.create()
    data = [1, True, 1.1]
    DictMapper.build_class_attribute(target, "a", data)
    expected = AttrFactory.create(
        name="a",
        tag=Tag.ELEMENT,
        types=[
            AttrTypeFactory.native(DataType.SHORT, tag=Tag.ELEMENT),
            AttrTypeFactory.native(DataType.BOOLEAN, tag=Tag.ELEMENT),
            AttrTypeFactory.native(DataType.FLOAT, tag=Tag.ELEMENT),
        ],
    )
    restrictions = Restrictions(min_occurs=1, max_occurs=sys.maxsize)
    self.assertEqual(expected, target.attrs[0])
    self.assertEqual(restrictions, target.attrs[0].restrictions)