InterNations\Component\HttpMock\Tests\Matcher\ExtractorFactoryTest::testGetPath PHP Метод

testGetPath() публичный Метод

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