@Test(expected = QueryException.class)
public void testNoEndCommitFoundWillThrow() throws QueryException {

    addSmell(firstCommit, firstSmell);
    mockCommitBranch(firstCommit, 0, 0);
    mockNoEndCommit();
    getAnalysis().query();
}