def METHOD_NAME(self):
    required_arg_names = ["name", "args", "called_on_null_input_returns", "return_type", "script"]
    for arg_name in required_arg_names:
        udf_args = self.MOCK_LUA_UDF_VALS.copy()
        udf_args.update({arg_name: None})
        with self.assertRaises(ValidationError,
                               msg=f"Creating a udf without providing {arg_name} did not raise a ValidationError."):
            UDF(**udf_args)