Esempio n. 1
0
 /**
  * Init
  */
 protected function setUp()
 {
     $this->getTester()->setDi(DI::getDefault());
     $this->getTester()->setTestableConfig($this->getTestableConfig());
     parent::setUp();
     $this->testable = new ModuleTestable();
 }
Esempio n. 2
0
 /**
  * Init
  */
 protected function setUp()
 {
     parent::setUp();
     $this->getTester()->setTestableConfig($this->getTestableConfig());
     $this->di = $this->getTester()->getDi();
     $this->testable = new RouterTestable($this->di);
 }
Esempio n. 3
0
 /**
  * Init
  */
 protected function setUp()
 {
     parent::setUp();
     $this->testable = new Hmvc($this->getTester()->getDi());
 }
Esempio n. 4
0
 protected function setUp()
 {
     $this->getTester()->setTestableConfig($this->getTestableConfig());
     parent::setUp();
     $this->testable = new CacheTestable($this->getTester()->getDi());
 }
Esempio n. 5
0
 /**
  * Init
  */
 protected function setUp()
 {
     $this->getTester()->setTestableConfig(['volt' => []]);
     parent::setUp();
     $this->testable = new Factory($this->getTester()->getDi());
 }
Esempio n. 6
0
 protected function setUp()
 {
     parent::setUp();
     $this->testable = new BuilderTestable();
     $this->testable->initFrom();
 }
Esempio n. 7
0
 protected function setUp()
 {
     parent::setUp();
     $this->initDispatcher();
     $this->testable = new RequestTestable();
 }