code: def testAddWithAndWithoutPriority(self):
      memory = self.create_default_memory()
      self.assertEqual(memory.cursor(), 0)
      zeros = np.zeros(SCREEN_SIZE)
  
      self.add_blank(memory)
      self.assertEqual(memory.cursor(), STACK_SIZE)
      self.assertEqual(memory.add_count, STACK_SIZE)
  
      # Check that the prioritized replay buffer expects an additional argument
      # for priority.
      with self.assertRaisesRegex(ValueError, "Add expects"):
          memory.add(observation=zeros, action=0, reward=0, terminal=0)
  
file_path: ReAgent/reagent/test/replay_memory/prioritized_replay_buffer_test.py
imports: import unittest
  import numpy
  from reagent.replay_memory import prioritized_replay_buffer
label_desc: Use image node_id 3 for calling the PrioritizedReplayBufferTest obj's underlying member method code with example usage: obj.testAddWithAndWithoutPriority() without return types