### Question:
SmSnGitRepository extends AtomBase implements AbstractRepository { @Override public void addAll() throws RepositoryException { performOperation(getGit().add() .addFilepattern(".")); } SmSnGitRepository(final Brain brain, final DataSource dataSource); static String formatDate(final long timeStamp); @Override void addAll(); @Override void commitAll(final String message); @Override void pull(); @Override void push(); @Override void cycle(final String message); @Override Set<String> getAdded(); @Override Set<String> getRemoved(); @Override Set<String> getUntracked(); @Override Set<String> getChanged(); @Override Set<String> getModified(); @Override Set<String> getConflicting(); @Override Set<String> getMissing(); @Override String getSource(); @Override String getTitle(); Brain getBrain(); Note getHistory(final Limits limits); void close(); static String titleForMissingAtom(final DiffEntry.ChangeType changeType); static String toId(final String path); static long getTimeStamp(final RevCommit commit);  }### Answer:
@Test public void simpleAddAllIsCorrect() throws Exception { assertEquals(0, countUntracked()); assertEquals(0, countAdded()); addFile(testNote(ARTHUR_ID, "Arthur Dent")); assertEquals(1, countUntracked()); assertEquals(0, countAdded()); repo.addAll(); assertEquals(0, countUntracked()); assertEquals(1, countAdded()); addFile(testNote(FORD_ID, "Ford Prefect")); assertEquals(1, countUntracked()); addFile(testNote(ZAPHOD_ID, "Zaphod Beeblebrox")); assertEquals(2, countUntracked()); assertEquals(1, countAdded()); repo.addAll(); assertEquals(0, countUntracked()); assertEquals(3, countAdded()); }