public static function setRoot(vfsStreamContainer $root) { self::$root = $root; clearstatcache(); return self::$root; }
/** * Sets up the test fixture. * * @return void */ public function setUp() { vfsStreamWrapper::register(); vfsStreamWrapper::setRoot(new vfsStreamDirectory('test')); $this->forum = 'test'; $this->contents = new Forum_Contents(vfsStream::url('test')); }