Neos\Flow\Tests\Unit\ResourceManagement\Streams\StreamWrapperAdapterTest::url_statTest PHP Метод

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

public url_statTest ( )
    public function url_statTest()
    {
        $path = 'mockScheme1://foo/bar';
        $flags = STREAM_URL_STAT_LINK;
        $this->streamWrapperAdapter->expects($this->once())->method('createStreamWrapper')->with($path);
        $this->mockStreamWrapper->expects($this->once())->method('pathStat')->with($path, $flags)->will($this->returnValue(true));
        $this->assertTrue($this->streamWrapperAdapter->url_stat($path, $flags));
    }