Go\Instrument\EnumeratorTest::setUpBeforeClass PHP Method

setUpBeforeClass() public static method

Set up fixture test folders and files
public static setUpBeforeClass ( ) : void
return void
    public static function setUpBeforeClass()
    {
        static::$fileSystem = FileSystem::factory('vfs://');
        static::$fileSystem->mount();
        $testPaths = ['/base/sub/test', '/base/sub/sub/test'];
        // Setup some files we test against
        foreach ($testPaths as $path) {
            mkdir('vfs://' . $path, 0777, true);
            touch('vfs://' . $path . DIRECTORY_SEPARATOR . 'TestClass.php');
        }
    }