code: def test_jira_resolve_non_mainline():
      jira = FakeJIRA(
          issue=FAKE_ISSUE_1,
          project_versions=SOURCE_VERSIONS,
          transitions=TRANSITIONS,
      )
  
      my_comment = "my comment"
      fix_version = "JS-0.4.0"
  
      issue = merge_arrow_pr.JiraIssue(
          jira, "ARROW-1234", "ARROW", FakeCLI()
      )
      issue.resolve(fix_version, my_comment)
  
      assert jira.captured_transition == {
          "jira_id": "ARROW-1234",
          "transition_id": 1,
          "comment": my_comment,
          "fixVersions": [{"name": "JS-0.4.0", "released": False}],
      }
  
imports: from collections import namedtuple
  import pytest
  import merge_arrow_pr
label_desc: Use image node_id 7 for calling a global function with example usage: test_jira_resolve_non_mainline() without return types