void (int count) { TreePath path = TreePathUtil.pathToCustomNode(count, value -> value > 1 ? value - 1 : null); Object[] array = TreePathUtil.convertTreePathToArray(path); assertUserObjectPath(count, array); }