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

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

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