class_docstr: Mock ReplayBuffer to verify the way the agent interacts with it.
code: def __init__(self, is_jax=False):
      if is_jax:
          self.add = mock.Mock()
          self.add_count = 0
          self.sum_tree = mock.Mock()
      else:
          with tf.compat.v1.variable_scope(
              "MockReplayBuffer", reuse=tf.compat.v1.AUTO_REUSE
          ):
              self.add = mock.Mock()
              self.memory = mock.Mock()
              self.memory.add_count = 0
  
file_path: dopamine/dopamine/utils/test_utils.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import mock
  import tensorflow
label_desc: Use image node_id 1 to create a new MockReplayBuffer object from inherited base classes: object with example: obj = MockReplayBuffer(is_jax)