def METHOD_NAME():
    path = ObjectPath.root().array_index(2)
    assert isinstance(path, object_path.ArrayIndexPath)
    assert str(path) == "<root>[2]"
    assert len(path) == 2
    assert path.parent == ObjectPath.root()