code: def test_jira_already_resolved():
      status = FakeStatus("Resolved")
      fields = FakeFields(
          status,
          "issue summary",
          FakeAssignee("groundhog"),
          [FakeComponent("Java")],
          [],
      )
      issue = FakeIssue(fields)
  
      jira = FakeJIRA(
          issue=issue,
          project_versions=SOURCE_VERSIONS,
          transitions=TRANSITIONS,
      )
  
      fix_versions = [SOURCE_VERSIONS[0].raw]
      issue = merge_arrow_pr.JiraIssue(
          jira, "ARROW-1234", "ARROW", FakeCLI()
      )
  
      with pytest.raises(
          Exception, match="ARROW-1234 already has status 'Resolved'"
      ):
          issue.resolve(fix_versions, "")
  
imports: from collections import namedtuple
  import pytest
  import merge_arrow_pr
label_desc: Use image node_id 10 for calling a global function with example usage: test_jira_already_resolved() without return types