public function vfsStreamBlockTestCase::external in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamBlockTestCase.php \org\bovigo\vfs\vfsStreamBlockTestCase::external()
tests how external functions see this object
@test
File
- vendor/
mikey179/ vfsStream/ src/ test/ php/ org/ bovigo/ vfs/ vfsStreamBlockTestCase.php, line 47
Class
Namespace
org\bovigo\vfsCode
public function external() {
$root = vfsStream::setup('root');
$root
->addChild(vfsStream::newBlock('foo'));
$this
->assertEquals('block', filetype(vfsStream::url('root/foo')));
}