Autarky\Testing\TestCase::setUp PHP Метод

setUp() публичный Метод

public setUp ( )
    public function setUp()
    {
        $this->app = $this->createApplication();
        $this->app->setEnvironment('testing');
        $this->app->boot();
        $this->app->getErrorHandler()->setRethrow(true);
    }

Usage Example

Пример #1
0
 /**
  * {@inheritdoc}
  */
 public function setUp()
 {
     parent::setUp();
     $this->client = $this->createClient();
 }