def METHOD_NAME(parentChain):
    # Get the parent chain for a none user
    with pytest.raises(AccessException):
        parents = Folder().parentsToRoot(parentChain['folder4'], user=None)
        assert parents[1]['object']['name'] == 'F1'
        assert parents[2]['object']['name'] == 'F2'
        assert parents[3] is None