public void testSetReviewHook() {
storeAuthors();
repository.addArtifact(identifier[0], null, content[0], authors[0]);
repository.setReview(identifier[0], alice, 0, "old", false);
repository.registerSetReviewHook(new SetReviewHook() {
@Override
public int getPriority() {
return PRIORITY_MEDIUM;
}