code: def test_collision(self):
      template_path = self.create_file("template", "sub_substring")
      res_path = self.create_file("res", "my_content")
  
      actual = resource_digest_suffixer.replace_files(
          template_path, {"sub": res_path}
      )
  
      self.assertEqual(
          "res?{0}_res?{0}string".format(
              _EXPECTED_QUERY_FOR_MY_CONTENT
          ),
          actual,
      )
  
file_path: tensorboard/tensorboard/defs/internal/resource_digest_suffixer_test.py
imports: import os
  from tensorboard import test
  from tensorboard.defs.internal import resource_digest_suffixer
label_desc: Use image node_id 5 for calling the ResourceDigestSuffixerTest obj's underlying member method code with example usage: obj.test_collision() without return types