class_docstr: TestCase for analyzers execution
  
  TestCase that applies the method to several networks and
  runs the analyzer with random data.
  
  :param method: A function that returns an Analyzer class.
code: def __init__(self, method: AnalyzerBase, *args, **kwargs) -> None:
      self._method = method
      super().__init__(*args, **kwargs)
  
imports: from __future__ import annotations
  from typing import Callable
  import numpy
  import tensorflow
  import tensorflow.keras.backend
  from innvestigate.analyzer import Random
  from innvestigate.analyzer.base import AnalyzerBase
  from innvestigate.backend.types import Model
  from tests import networks
label_desc: Use image node_id 1 to create a new AnalyzerTestCase object from inherited base classes: BaseLayerTestCase with example: obj = AnalyzerTestCase(method)