async def METHOD_NAME() -> None:
    """Collapsing one node should not collapse all nodes."""
    async with TreeApp().run_test() as pilot:
        pilot.app.query_one(Tree).root.expand_all()
        pilot.app.query_one(Tree).root.children[0].collapse()
        assert pilot.app.query_one(Tree).root.children[0].is_expanded is False
        check_node = pilot.app.query_one(Tree).root.children[0].children[0]
        while check_node.children:
            assert all(child.is_expanded for child in check_node.children) is True
            check_node = check_node.children[0]