Kraken\_Unit\Filesystem\FilesystemManagerTest::testApiSetVisibility_ThrowsException_WhenFsDoesNotExist PHP Метод

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

public testApiSetVisibility_ThrowsException_WhenFsDoesNotExist ( Kraken\Filesystem\FilesystemManagerInterface $man, Prophecy\Prophecy\ObjectProphecy $p1, Prophecy\Prophecy\ObjectProphecy $p2 )
$man Kraken\Filesystem\FilesystemManagerInterface
$p1 Prophecy\Prophecy\ObjectProphecy
$p2 Prophecy\Prophecy\ObjectProphecy
    public function testApiSetVisibility_ThrowsException_WhenFsDoesNotExist(FilesystemManagerInterface $man, ObjectProphecy $p1, ObjectProphecy $p2)
    {
        $visibility = 'visibility';
        $this->setExpectedException(WriteException::class);
        $man->setVisibility('not_fs://path', $visibility);
    }
FilesystemManagerTest