def METHOD_NAME(self):
    with self.assertRaises(ValueError):
        GroupThreshold([1], self._public_testcases)
    with self.assertRaises(ValueError):
        GroupThreshold(1, self._public_testcases)