}
@Override
protected void setUp() throws Exception {
CollabReview collabReview = AutoConfigurator.newConfiguredApplication();
AuthorManager authorManager = collabReview.getAuthorManager();
state = null;
repository = collabReview.getRepository();
repository.reset();
for (String name : authorNames) {
authorManager.storeAuthor(authorManager.createAuthor(name));
}
authorManager.commit();
authors = new Author[]{
authorManager.getAuthor(authorNames[0]),
authorManager.getAuthor(authorNames[1]),
authorManager.getAuthor(authorNames[1]),
};
timer = new Timer(true);
artifactVisitor = new ArtifactVisitor();
artifactVisitor.setRepository(repository);
artifactVisitor.setTimer(timer);