code: def test_parameters_for_class_plugin():
      """Verify that we can retrieve the parameters for a class plugin."""
  
      class FakeCheck:
          def __init__(self, tree):
              raise NotImplementedError
  
      assert finder._parameters_for(FakeCheck) == {"tree": True}
  
imports: from __future__ import annotations
  import configparser
  import importlib.metadata
  import sys
  from unittest import mock
  import pytest
  from flake8.exceptions import ExecutionError
  from flake8.exceptions import FailedToLoadPlugin
  from flake8.plugins import finder
  from flake8.plugins.pyflakes import FlakesChecker
label_desc: Use image node_id 27 for calling a global function with example usage: test_parameters_for_class_plugin() without return types