public function itEnsuresThatManifestFilesOfMirrorsContainTheRepositories()
 {
     stub($this->data_mapper)->fetchRepositoriesForMirror($this->singapour_mirror)->returns(array($this->repository));
     stub($this->data_mapper)->fetchRepositoriesForMirror($this->noida_mirror)->returns(array($this->repository, $this->another_repository));
     expect($this->generator)->ensureManifestContainsLatestInfoOfRepositories()->count(2);
     expect($this->generator)->ensureManifestContainsLatestInfoOfRepositories($this->singapour_mirror, array(new GitRepositoryGitoliteAdmin(), $this->repository))->at(0);
     expect($this->generator)->ensureManifestContainsLatestInfoOfRepositories($this->noida_mirror, array(new GitRepositoryGitoliteAdmin(), $this->repository, $this->another_repository))->at(1);
     $this->manager->checkManifestFiles();
 }
 public function process()
 {
     $this->manifest_manager->checkManifestFiles();
     $this->done();
 }