private function processFile(Candidate $candidate) { if ($candidate->isInteractor()) { $this->interactorMap->add($candidate->getInteractorName(), $candidate->getClassName()); } }
/** @test */ public function has() { $this->map->add(self::INTERACTOR_NAME, self::INTERACTOR_CLASS); $this->assertTrue($this->map->has(self::INTERACTOR_NAME)); }