@Test
public void testGitLogSha() throws IOException, JavaGitException {

    CliGitLog gitLog = new CliGitLog();
    GitLogOptions options = new GitLogOptions();
    options.setOptFileDetails(true);
    List<Commit> log = gitLog.log(repoDirectory, options);
    for (int i = 0; i < log.size(); i++) {
        if (log.get(i).getSha().length() != 40) {
            fail("Failed Sha not correct");
        }
    }
}