Tester\TestCase::setUp PHP 메소드

setUp() 보호된 메소드

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

Usage Example

예제 #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