@Test
public void handleFirstCommitIsNotTheFirstOrdinal() throws QueryException {

    addSmell(thirdCommit, firstSmell);
    mockGapCommit(firstCommit.sha);
    mockEndCommit(thirdCommit.sha);
    getAnalysis().query();
    verify(persistence, times(1)).execute(any());
    verify(smellQueries).smellInsertionStatement(projectId, firstSmell);
    verify(persistence, times(2)).addStatements(any());
    verify(smellQueries).smellCategoryInsertionStatement(projectId, thirdCommit.sha, firstSmell, SmellCategory.PRESENCE);
    verify(smellQueries).smellCategoryInsertionStatement(projectId, thirdCommit.sha, firstSmell, SmellCategory.INTRODUCTION);
}