code: def testLogAPIUse(self):
      @common.log_api_use("test_collection")
      def fn0():
          return None
  
      @common.log_api_use("test_collection")
      def fn1():
          return None
  
      @common.log_api_use("another_collection")
      def fn2():
          return None
  
      with tf.compat.v1.Graph().as_default() as graph:
          fn0()
          fn1()
          fn2()
          fn0()
          fn0()
  
      self.assertAllEqual(
          [{"fn0": 3, "fn1": 1}],
          graph.get_collection("test_collection"),
      )
      self.assertAllEqual(
          [{"fn2": 1}], graph.get_collection("another_collection")
      )
  
imports: import tensorflow
  from tensorflow_transform import common
  from tensorflow_transform import test_case
label_desc: Use image node_id 1 for calling the CommonTest obj's underlying member method code with example usage: obj.testLogAPIUse() and returns: None, None, None