Neos\Flow\Tests\Unit\ResourceManagement\Streams\StreamWrapperAdapterTest::dir_opendirTest PHP Method

dir_opendirTest() public method

public dir_opendirTest ( )
    public function dir_opendirTest()
    {
        $path = 'mockScheme1://foo/bar';
        $options = 123;
        $this->streamWrapperAdapter->expects($this->once())->method('createStreamWrapper')->with($path);
        $this->mockStreamWrapper->expects($this->once())->method('openDirectory')->with($path, $options)->will($this->returnValue(true));
        $this->assertTrue($this->streamWrapperAdapter->dir_opendir($path, $options));
    }