def METHOD_NAME(cls):
    super().METHOD_NAME()
    form = FormFactory.create(
        name="public name",
        internal_name="internal name",
    )
    step1 = FormStepFactory.create(
        form=form,
        form_definition__name="Step 1",
        form_definition__configuration={
            "components": [
                {
                    "type": "textfield",
                    "key": "input1",
                }
            ]
        },
    )
    step2 = FormStepFactory.create(
        form=form,
        form_definition__name="Step 2",
        form_definition__configuration={
            "components": [
                {
                    "type": "textfield",
                    "key": "input2",
                }
            ]
        },
    )
    submission = SubmissionFactory.create(form=form)
    sstep1 = SubmissionStepFactory.create(submission=submission, form_step=step1)
    sstep2 = SubmissionStepFactory.create(submission=submission, form_step=step2)
    SubmissionValueVariableFactory.create(
        key="ud1",
        value="Some data 1",
        submission=submission,
        form_variable__source=FormVariableSources.user_defined,
        form_variable__name="User defined var 1",
    )
    SubmissionValueVariableFactory.create(
        key="ud2",
        value="Some data 2",
        submission=submission,
        form_variable__source=FormVariableSources.user_defined,
        form_variable__name="User defined var 2",
    )
    # expose test data to test methods
    cls.submission = submission
    cls.sstep1 = sstep1
    cls.sstep2 = sstep2