/** * set up test environment */ public function setUp() { parent::setUp(); $this->helper = Helper::create(); $this->rootdir = vfsStream::setup('workbench'); $this->config = ConfigStub::create(); $this->createPackages(); }
/** * set up test environment */ public function setUp() { parent::setUp(); $this->helper = Helper::create(); $this->app = array('path.base' => vfsStream::setup('workbench')->url(), 'config' => ConfigStub::create()->config()); $this->meta = array('vendor' => 'Vendor', 'name' => 'Package', 'package' => 'vendor/package'); $this->meta['namespace'] = $this->meta['vendor'] . '\\\\' . $this->meta['name']; }