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

    CliGitLog gitLog = new CliGitLog();
    GitLogOptions options = new GitLogOptions();
    options.setOptLimitCommitMax(true, 1);
    options.setOptFileDetails(true);
    options.setOptLimitCommitSkip(true, 1);
    List<Commit> log = gitLog.log(repoDirectory, options);
    if (log.get(0).getMessage().contains("Making a first test commit")) {
    } else {
        fail("Failed Log ,commit message does not match.");
    }
}