code: def test_in_step_kernel(self):
      fake_kernel = test_fixtures.TestTransitionKernel()
      mean_reducer = expectations_reducer.ExpectationsReducer()
      reduced_kernel = with_reductions.WithReductions(
          fake_kernel, mean_reducer
      )
      _, kernel_results = step.step_kernel(
          num_steps=5,
          current_state=8,
          kernel=reduced_kernel,
          return_final_kernel_results=True,
          seed=test_util.test_seed(),
      )
      reduction_results = self.evaluate(
          mean_reducer.finalize(kernel_results.reduction_results)
      )
      self.assertEqual(11, reduction_results)
  
file_path: probability/tensorflow_probability/python/experimental/mcmc/expectations_reducer_test.py
imports: import collections
  import tensorflow.compat.v2
  from tensorflow_probability.python.distributions import normal
  from tensorflow_probability.python.experimental.mcmc import expectations_reducer
  from tensorflow_probability.python.experimental.mcmc import step
  from tensorflow_probability.python.experimental.mcmc import with_reductions
  from tensorflow_probability.python.experimental.mcmc.internal import test_fixtures
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 3 for calling the ExpectationsReducerTest obj's underlying member method code with example usage: obj.test_in_step_kernel() without return types