void () { TreePath path = TreePathUtil.convertArrayToTreePath("root", "parent", "child"); Assert.assertEquals(path, TreePathUtil.findCommonAncestor( TreePathUtil.convertArrayToTreePath("root", "parent", "child", "one"), TreePathUtil.convertArrayToTreePath("root", "parent", "child", "two"), path)); }