def METHOD_NAME(self):
    subcmd_def = {"hello": "world", "hi": "you"}
    self.events_lib_mock.expose_event_metadata.return_value = subcmd_def
    s = EventTypeSubCommand(self.events_lib_mock, "hello", subcmd_def)
    expected = ["hello", "hi"]
    self.assertEqual(s.list_commands(ctx=None), expected)