def METHOD_NAME(self):
    # -- CONVERT: number => Enum value (item)
    bad_numbers = [-1, 0, 5]
    for value in bad_numbers:
        self.assertIsInstance(value, int)
        assert UseEnum(Color).select_by_number(value, None) is None
        example = self.Example()
        with self.assertRaises(TraitError):
            example.color = value