/** * tests how external functions see this object * * @test */ public function external() { $root = vfsStream::setup('root'); $root->addChild(vfsStream::newBlock('foo')); $this->assertEquals('block', filetype(vfsStream::url('root/foo'))); }