def METHOD_NAME(self, *args):
    app = Application.new_app(None, "Untitled Application")
    module_0 = app.add_module(Module.new_module('parent', None))
    module_0.unique_id = 'm0'
    module_0.case_type = 'parent'
    form = app.new_form(0, "Form", None)
    form.actions.open_case = OpenCaseAction(name_update=ConditionalCaseUpdate(question_path="/data/question1"))
    form.actions.open_case.condition.type = 'always'
    child_case_type = 'child'
    form.actions.subcases.append(OpenSubCaseAction(
        case_type=child_case_type,
        name_update=ConditionalCaseUpdate(question_path="/data/question1"),
        condition=FormActionCondition(type='always')
    ))
    # subcase in the middle that has a repeat context
    form.actions.subcases.append(OpenSubCaseAction(
        case_type=child_case_type,
        name_update=ConditionalCaseUpdate(question_path="/data/repeat/question1"),
        repeat_context='/data/repeat',
        condition=FormActionCondition(type='always')
    ))
    form.actions.subcases.append(OpenSubCaseAction(
        case_type=child_case_type,
        name_update=ConditionalCaseUpdate(question_path="/data/question1"),
        condition=FormActionCondition(type='always')
    ))
    expected = """
    <partial>
        <session>
          <datum id="case_id_new_parent_0" function="uuid()"/>
          <datum id="case_id_new_child_1" function="uuid()"/>
          <datum id="case_id_new_child_3" function="uuid()"/>
        </session>
    </partial>
    """
    self.assertXmlPartialEqual(expected,
                               app.create_suite(),
                               './entry[1]/session')