def METHOD_NAME(self):
    events_lib = Mock()
    events_lib.expose_event_metadata.return_value = self.all_cmds
    s = EventTypeSubCommand(events_lib, self.service_cmd_name, self.all_cmds)
    self.assertEqual(s.events_lib, events_lib)