code: def _runTest(
      self, examples, eval_export_dir, metrics, expected_values_dict
  ):
      def check_result(got):  # pylint: disable=invalid-name
          try:
              self.assertEqual(1, len(got), "got: %s" % got)
              (slice_key, value) = got[0]
              self.assertEqual((), slice_key)
              self.assertDictElementsAlmostEqual(
                  value, expected_values_dict
              )
          except AssertionError as err:
              tf.compat.v1.logging.error(got)
              raise util.BeamAssertException(err)
  
      self._runTestWithCustomCheck(
          examples,
          eval_export_dir,
          metrics,
          custom_metrics_check=check_result,
      )
  
imports: import os
  import apache_beam
  from apache_beam.testing import util
  import tensorflow
  from tensorflow_model_analysis import constants
  from tensorflow_model_analysis.addons.fairness.post_export_metrics import fairness_indicators
  from tensorflow_model_analysis.api import model_eval_lib
  from tensorflow_model_analysis.api import tfma_unit
  from tensorflow_model_analysis.eval_saved_model import testutil
  from tensorflow_model_analysis.eval_saved_model.example_trainers import fixed_prediction_estimator_extra_fields
  from tensorflow_model_analysis.eval_saved_model.example_trainers import multi_head
  from tensorflow_model_analysis.evaluators import legacy_metrics_and_plots_evaluator
  from tensorflow_model_analysis.post_export_metrics import post_export_metrics
  import tensorflow_model_analysis.post_export_metrics.metric_keys
  from tensorflow_model_analysis.proto import config_pb2
  from tensorflow_model_analysis.proto import metrics_for_slice_pb2
  from tensorflow_model_analysis.slicer import slicer_lib
  from tfx_bsl.tfxio import raw_tf_record
label_desc: Use image node_id 3 for calling the FairnessIndicatorsTest obj's underlying member method code with example usage: obj._runTest(examples, eval_export_dir, metrics, expected_values_dict) without return types