void (String in, String out) { final List<GraphCommit<CommitId>> commits = getCommitIdManager().parseCommitList(in); PermanentCommitsInfo<CommitId> commitsInfo = PermanentCommitsInfoImpl.newInstance(commits, new Int2ObjectOpenHashMap<>()); assertEquals(out, commitsInfoToStr(commitsInfo, commits.size(), getCommitIdManager().getToStrFunction())); }