def METHOD_NAME(cls, ding=True, wecom=False):
    messages_cls = cls.get_all_sub_messages()
    for _cls in messages_cls:
        try:
            _cls.send_test_msg(ding=ding, wecom=wecom)
        except NotImplementedError:
            continue