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

    File testFile = FileUtilities.createFile(repoDirectory, "fileA.txt", "Sameple Contents");
    // Add a file to the repo
    List<File> filesToAdd = new ArrayList<File>();
    filesToAdd.add(testFile);
    add.add(repoDirectory, null, filesToAdd);
    // Call commit
    GitCommitResponse resp = commit.commit(repoDirectory, "Making a first test commit");
    assertEquals("Short comment not as expected", resp.getCommitShortComment(),
            "Making a first test commit");
    assertEquals("", 1, resp.getFilesChanged());
    assertEquals("", 0, resp.getLinesDeleted());
    assertEquals("", 1, resp.getLinesInserted());
    // Can't assert the short hash because it changes with the date.
    // assertEquals("", resp.getCommitShortHashName(), "5f8e2d7");
    // TODO (jhl388): check number of each file type
    // TODO (jhl388): check the files themselves.
}