async def METHOD_NAME():
    pool = await mo.create_actor_pool("127.0.0.1", n_process=0)
    async with pool:
        session_id = "test_session"
        await MockClusterAPI.create(pool.external_address)
        # create assigner actor
        await mo.create_actor(
            MockAssignerActor,
            uid=AssignerActor.gen_uid(session_id),
            address=pool.external_address,
        )
        # create queueing actor
        manager_ref = await mo.create_actor(
            MockSubtaskManagerActor,
            uid=SubtaskManagerActor.gen_uid(session_id),
            address=pool.external_address,
        )
        # create slots actor
        slots_ref = await mo.create_actor(
            MockSlotsActor,
            uid=GlobalResourceManagerActor.default_uid(),
            address=pool.external_address,
        )
        # create queueing actor
        queueing_ref = await mo.create_actor(
            SubtaskQueueingActor,
            session_id,
            uid=SubtaskQueueingActor.gen_uid(session_id),
            address=pool.external_address,
        )
        try:
            yield pool, session_id, queueing_ref, slots_ref, manager_ref
        finally:
            await mo.destroy_actor(queueing_ref)
            await MockClusterAPI.cleanup(pool.external_address)