Creating a full directory structure in vfsStream

Code
<?php

use org\bovigo\vfs\vfsStream;

class 
Fs2Test extends PHPUnit_Framework_TestCase
{
    private 
$fs;
    
    
/**
     * @before
     */
    
public function beforeTest()
    {
        
$baseDir vfsStream::setup('project');
        
$structure = array(
            
'files' => array(
                
'text' => array('config.yml' => 'db.username: test, db.password: pass'),
                
'php' => array(
                    
'lib' => array('Library.php' => 'var_dump($test); array_map('),
                    
'util' => array(
                        
'Finder.php' => 'array_merge(',
                        
'Foo.php' => 'var_dump($foo); echo $foo;',
                    ),
                ),
            ),
        );
        
vfsStream::create($structure$baseDir);
        
$this->fs vfsStream::url('project');
    }

    public function 
testFs()
    {
        
$this->assertFileExists($this->fs '/files/text/config.yml');
        
$this->assertFileExists($this->fs '/files/php/lib/Library.php');
        
$this->assertFileExists($this->fs '/files/php/util/Foo.php');
        
$this->assertFileExists($this->fs '/files/php');
    }
}
Result
Time: 197 ms, Memory: 6.00MB

OK (1 test, 0 assertions)
Used Versions
PHP 7.1, Zend 3.0, Symfony 3.2, Laravel 5.2, PHPUnit 5.6, Doctrine 2.6