def METHOD_NAME(self):
    # Test level property
    self.M.x = Var([1, 2, 3])
    self.M.c = SOSConstraint(var=self.M.x, sos=1)
    self.assertEqual(self.M.c.level, 1)
    self.M.c.level = 2
    self.assertEqual(self.M.c.level, 2)
    try:
        self.M.c.level = -1
        self.fail("Expected ValueError")
    except ValueError:
        pass