Tester\TestCase::setUp PHP Method

setUp() protected method

This method is called before a test is executed.
protected setUp ( ) : void
return void
    protected function setUp()
    {
    }

Usage Example

Esempio n. 1
0
 protected function setUp()
 {
     parent::setUp();
     $sl = $this->getContainer();
     $services = $sl->findByType('Nette\\Application\\IRouter');
     $this->router = $sl->createService($services[0]);
 }
All Usage Examples Of Tester\TestCase::setUp