code: def test_collect_info(self, labels, create_issue_manager):
      # With Imbalance
      issue_manager = create_issue_manager(labels)
      issue_manager.find_issues()
      assert issue_manager.info["Rarest Class"] == 5
  
      # Without Imbalance
      labels[0] = 0
      issue_manager = create_issue_manager(labels)
      issue_manager.find_issues()
      assert issue_manager.info["Rarest Class"] == "NA"
  
file_path: cleanlab/tests/datalab/issue_manager/test_imbalance.py
imports: import numpy
  import pytest
  from cleanlab.datalab.internal.issue_manager.imbalance import ClassImbalanceIssueManager
label_desc: Use image node_id 7 for calling the TestClassImbalanceIssueManager obj's underlying member method code with example usage: obj.test_collect_info(labels, create_issue_manager) without return types