protected function setUp() { parent::setUp(); $this->createComponent('preparer')->prepare(); require_once 'Stagehand/TestRunner/PHPSpecPassSpec.php'; require_once 'Stagehand/TestRunner/PHPSpecWithoutNamespaceSpec.php'; }
protected function setUp() { parent::setUp(); $this->tmpDirectory = __DIR__; $this->junitXMLFile = $this->tmpDirectory . '/' . $this->getName(false) . '.xml'; $legacyProxy = \Phake::partialMock('Stagehand\\TestRunner\\Util\\LegacyProxy'); \Phake::when($legacyProxy)->ob_get_level()->thenReturn(0); \Phake::when($legacyProxy)->system($this->anything(), $this->anything())->thenReturn(null); $this->setComponent('legacy_proxy', $legacyProxy); $this->configure(); }
protected function setUp() { parent::setUp(); $this->setComponent('cakephp.preparer', \Phake::mock('Stagehand\\TestRunner\\Preparer\\CakePHPPreparer')); }
protected function setUp() { parent::setUp(); $this->setComponent('ciunit.preparer', \Phake::mock('Stagehand\\TestRunner\\Preparer\\CIUnitPreparer')); }