code: def test_set_and_add_replay_index(self):
      arch = _Architecture("foo", "dummy_ensembler_name")
      arch.set_replay_indices([1, 2, 3])
      self.assertAllEqual([1, 2, 3], arch.replay_indices)
      arch.add_replay_index(4)
      self.assertAllEqual([1, 2, 3, 4], arch.replay_indices)
  
file_path: adanet/adanet/core/architecture_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from absl.testing import parameterized
  from adanet.core.architecture import _Architecture
  import tensorflow.compat.v1
label_desc: Use image node_id 3 for calling the ArchitectureTest obj's underlying member method code with example usage: obj.test_set_and_add_replay_index() without return types