def METHOD_NAME(self):
    submission = SubmissionFactory.from_components(
        components_list=FORMIO_CONFIGURATION_COMPONENTS,
        submitted_data={
            "input1": "first input",
            "input2": "second input",
            "amount": 1234.56,
            "input4": "fourth input",
        },
        form__name="public name",
        form__internal_name="internal name",
    )
    SubmissionValueVariableFactory.create(
        key="ud1",
        form_variable__name="User defined var 1",
        value="Some data 1",
        submission=submission,
        form_variable__source=FormVariableSources.user_defined,
    )
    SubmissionValueVariableFactory.create(
        key="ud2",
        form_variable__name="User defined var 2",
        value="Some data 2",
        submission=submission,
        form_variable__source=FormVariableSources.user_defined,
    )
    form_definition = submission.steps[0].form_step.form_definition
    form_definition.name = "Stap 1"
    form_definition.save()
    stdout, stderr = StringIO(), StringIO()
    call_command(
        "render_report",
        [submission.id],
        as_html=False,
        stdout=stdout,
        stderr=stderr,
    )
    stdout.seek(0)
    stderr.seek(0)
    self.assertEqual(stderr.read(), "")
    output = stdout.read()
    expected = f"""