def METHOD_NAME(self):
    self.mock_read_user_params()
    err = r"__init__\(\) got an unexpected keyword argument 'unknown'"
    with pytest.raises(TypeError, match=err):
        common.TaskParams.from_cli_args({**TASK_ARGS_WITH_USER_PARAMS, "unknown": None})