def METHOD_NAME(self):
    n = self.group.get_variable_count()
    self.check_target_setting([0.1] * n)
    self.check_target_setting((0.2,) * n)
    self.check_target_setting(np.zeros(n))
    self.check_target_setting(
        [0.3] * n, {name: 0.3 for name in self.group.get_active_joints()}
    )
    self.check_target_setting([0.5] + [0.3] * (n - 1), "joint_1", 0.5)
    js_target = JointState(name=self.JOINT_NAMES, position=[0.1] * n)
    self.check_target_setting([0.1] * n, js_target)
    # name and position should have the same size, or raise exception
    with self.assertRaises(MoveItCommanderException):
        js_target.position = []
        self.check_target_setting(None, js_target)