public function testFindCitiesMatching() { $dptId = 12; $this->repository->expects($this->once())->method('findCitiesMatching')->with($this->equalTo($dptId)); $this->manager->findCitiesMatching($dptId); }