async def METHOD_NAME(self):
    router1 = Router()
    router2 = Router()
    router1.include_router(router2)
    results = []
    @router1.shutdown()
    async def shutdown1():
        results.append(1)
    @router2.shutdown()
    async def shutdown2():
        results.append(2)
    await router2.emit_shutdown()
    assert results == [2]
    await router1.emit_shutdown()
    assert results == [2, 1, 2]