private function getZoneMatcher($match = true) { $zoneMatcher = $this->prophesize('Elcodi\\Component\\Zone\\Services\\ZoneMatcher'); $zoneMatcher->isAddressContainedInZone(Argument::any(), Argument::any())->willReturn($match); return $zoneMatcher; }