public function testGetPathWithBasePathThatDoesNotMatch()
{
$this->request->expects($this->once())->method('getRequestUri')->will($this->returnValue('/bar'));
$extractorFactory = new ExtractorFactory('/foo');
$extractor = $extractorFactory->createPathExtractor();
$this->assertSame('', $extractor($this->request));
}