async def test_CONNECTED_AFTER_ACK() -> None: s = bcs.CONNECTED_AFTER_ACK() c = MockConnection() await s.run(c) assert c.state == "_handle_messages"
def test_CONNECTED_AFTER_ACK(): s = bcs.CONNECTED_AFTER_ACK() r = s.run(_MockConnection()) assert r.result() == "_handle_messages"
async def test_CONNECTED_AFTER_ACK() -> None: s = bcs.CONNECTED_AFTER_ACK() r = await s.run(MockConnection()) assert r == "_handle_messages"