private function processFile(Candidate $candidate) { if ($candidate->isInteractor()) { $this->interactorMap->add($candidate->getInteractorName(), $candidate->getClassName()); } }
/** @test */ public function iterator() { $this->assertInstanceOf('\\Iterator', $this->map->iterator()); $this->assertEquals(0, count($this->map->iterator())); }