def METHOD_NAME(self, expect, *args):
    if len(args) == 0:
        args = [expect]
    self.group.set_joint_value_target(*args)
    res = self.group.get_joint_value_target()
    self.assertTrue(
        np.all(np.asarray(res) == np.asarray(expect)),
        "Setting failed for %s, values: %s" % (type(args[0]), res),
    )