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