code: def testGenerateEvent(self):
      self.assertProtoEquals(
          """
          type: INPUT
          path {
            steps {
              key: 'key'
            }
            steps {
              index: 1
            }
          }
          artifact_id: 2
          execution_id: 3
          """,
          event_lib.generate_event(
              event_type=metadata_store_pb2.Event.INPUT,
              key="key",
              index=1,
              artifact_id=2,
              execution_id=3,
          ),
      )
  
imports: import itertools
  from absl.testing import parameterized
  import tensorflow
  from tfx.orchestration.portable.mlmd import event_lib
  from ml_metadata.proto import metadata_store_pb2
label_desc: Use image node_id 12 for calling the EventLibTest obj's underlying member method code with example usage: obj.testGenerateEvent() without return types