code: def test_get_all_collection(self):
      config = de_config_pb2.DynamicEmbeddingConfig(
          embedding_dimension=5
      )
      context.add_to_collection("first", config)
      context.add_to_collection("second", config)
      collections = context.get_all_collection()
      self.assertLen(collections, 2)
      for key, value in collections:
          self.assertIn(key, {"first", "second"})
          self.assertProtoEquals(value, config)
  
file_path: neural-structured-learning/research/carls/context_test.py
imports: from research.carls import context
  from research.carls import dynamic_embedding_config_pb2
  import tensorflow
label_desc: Use image node_id 2 for calling the ContextTest obj's underlying member method code with example usage: obj.test_get_all_collection() without return types