bootstrap = array($this, 'appBootstrap'); parent::setUp(); } public function appBootstrap() { $this->getFrontController()->setControllerDirectory(BaseTestCase::$appDir . '/controllers'); } public function testIndexAction() { $this->markTestSkipped('Static can not be detached from bootstrap'); $this->dispatch('/index/welcome'); $this->assertController('error'); } }