private List<RepositoryCommit> commitsList = new ArrayList<RepositoryCommit>();
private AtomicLong fakeSha = new AtomicLong(System.currentTimeMillis());
public synchronized RepositoryCommit addRepositoryCommit() {
User author = new User();
author.setEmail("someguy@gmail.com"); // TODO change
author.setHtmlUrl("http://github/someguy");
author.setLogin("someguy");
RepositoryCommit rc = new RepositoryCommit();
rc.setAuthor(author);
rc.setSha(fakeSha.incrementAndGet() + "");
LOG.debug("In MockCommitService added commit with sha " + rc.getSha());