def METHOD_NAME(self):
    handler = MessageHandler(filters.ALL, self.callback)
    for attr in handler.__slots__:
        assert getattr(handler, attr, "err") != "err", f"got extra slot '{attr}'"
    assert len(mro_slots(handler)) == len(set(mro_slots(handler))), "duplicate slot"