public static List<String> getPossibleMountPoints(String path) throws InvalidPathException {
    String basePath = cleanPath(path);
    List<String> paths = new ArrayList<>();
    if ((basePath != null) && !basePath.equals(AlluxioURI.SEPARATOR)) {
      paths.add(basePath);
      String parent = getParent(path);
      while (!parent.equals(AlluxioURI.SEPARATOR)) {
        paths.add(0, parent);
        parent = getParent(parent);
      }
    }
    return paths;
  }
@Test
  public void getPossibleMountPointsNoException() throws InvalidPathException {
    ArrayList<String> paths = new ArrayList<>();
    assertEquals(paths, PathUtils.getPossibleMountPoints("/"));
    assertEquals(paths, PathUtils.getPossibleMountPoints("//"));

    paths.add("/a");
    assertEquals(paths, PathUtils.getPossibleMountPoints("/a"));
    assertEquals(paths, PathUtils.getPossibleMountPoints("/a/"));
    paths.add("/a/b");
    assertEquals(paths, PathUtils.getPossibleMountPoints("/a/b"));
    assertEquals(paths, PathUtils.getPossibleMountPoints("/a/b/"));
    paths.add("/a/b/c");
    assertEquals(paths, PathUtils.getPossibleMountPoints("/a/b/c"));
    assertEquals(paths, PathUtils.getPossibleMountPoints("/a/b/c/"));
  }