public function testMatchLocation($matchingConfig, Repository $repository, $expectedResult) { $this->matcher->setRepository($repository); $this->matcher->setMatchingConfig($matchingConfig); $this->assertSame($expectedResult, $this->matcher->matchLocation($this->getLocationMock())); }