@Test
public void testNoMerge() throws QueryException, IOException {

    Commit A = new Commit("a", 1);
    Commit B = new Commit("b", 2, Collections.singletonList(A));
    Commit C = new Commit("c", 3, Collections.singletonList(B));
    initializeHead(C);
    initializeMocks(A, B, C);
    getQuery().query();
    debugBranchCommitInsertions();
    verify(persistence, times(4)).addStatements(any());
    verify(branchQueries).branchInsertionStatement(projectId, 0, null, null);
    verify(branchQueries).branchCommitInsertionQuery(projectId, 0, A.sha, 0);
    verify(branchQueries).branchCommitInsertionQuery(projectId, 0, B.sha, 1);
    verify(branchQueries).branchCommitInsertionQuery(projectId, 0, C.sha, 2);
}