async def METHOD_NAME(group: AsyncGroup):
    # In this test we add a coro during `await group.wait()` and check that this coro also was awaited.
    async_mock = AsyncMock()
    async def add_coro_during_wait():
        group.add_task(async_mock())
    group.add_task(add_coro_during_wait())
    await group.wait()  # here `async_mock` should be added to the group
    async_mock.assert_awaited()