def METHOD_NAME(run_line, go_ep1_id, go_ep2_id):
    """
    Submits two --exclude and two --include options on a transfer, confirms
    they show up the correct order in --dry-run output
    """
    # put a submission ID and autoactivate response in place
    load_response_set("cli.get_submission_id")
    load_response_set("cli.transfer_activate_success")
    result = run_line(
        "globus transfer -F json --dry-run -r "
        "--exclude foo --include bar "
        "--include baz --exclude qux "
        "{}:/ {}:/".format(go_ep1_id, go_ep1_id)
    )
    expected_filter_rules = [
        {
            "DATA_TYPE": "filter_rule",
            "method": "exclude",
            "name": "foo",
            "type": "file",
        },
        {
            "DATA_TYPE": "filter_rule",
            "method": "include",
            "name": "bar",
            "type": "file",
        },
        {
            "DATA_TYPE": "filter_rule",
            "method": "include",
            "name": "baz",
            "type": "file",
        },
        {
            "DATA_TYPE": "filter_rule",
            "method": "exclude",
            "name": "qux",
            "type": "file",
        },
    ]
    json_output = json.loads(result.output)
    assert json_output["filter_rules"] == expected_filter_rules