Testing against the filesystem with vfsStream

Code
<?php

use org\bovigo\vfs\vfsStream;

class 
FsTest extends PHPUnit_Framework_TestCase
{
    public function 
testFileExists()
    {
        
/* @var $baseDir org\bovigo\vfs\vfsStreamDirectory */
        
$baseDir vfsStream::setup('dir');
        
        
mkdir(vfsStream::url('dir')  . '/' 'myDir');
        
        
$this->assertTrue($baseDir->hasChild('myDir'));
        
$this->assertTrue(file_exists(vfsStream::url('dir')  . '/' 'myDir'));
    }
}
Result
Time: 67 ms, Memory: 2.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