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

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

public unlinkTest ( )
    public function unlinkTest()
    {
        $path = 'mockScheme1://foo/bar';
        $this->streamWrapperAdapter->expects($this->once())->method('createStreamWrapper')->with($path);
        $this->mockStreamWrapper->expects($this->once())->method('unlink')->with($path)->will($this->returnValue(true));
        $this->assertTrue($this->streamWrapperAdapter->unlink($path));
    }