def METHOD_NAME():
    class TestOb:
        def __init__(self) -> None:
            self.count = 0
        def fun(self):
            self.count += 1
    count = [0]
    def simple_fun():
        count[0] += 1
    t = TestOb()
    e = EventEmitter(type_name="test")
    e.connect(t.fun)
    e.connect(simple_fun)
    e()
    assert t.count == 1
    assert count[0] == 1