Allow repository to be set. Spec the AnnouncementManager::current()
method.