Scalr\Tests\TestCase::setUp PHP Method

setUp() protected method

See also: PHPUnit_Framework_TestCase::setUp()
protected setUp ( )
    protected function setUp()
    {
        parent::setUp();
    }

Usage Example

Esempio n. 1
0
 /**
  * {@inheritdoc}
  * @see PHPUnit_Framework_TestCase::setUp()
  */
 protected function setUp()
 {
     parent::setUp();
     $this->container = \Scalr::getContainer();
     $this->environment = new \Scalr_Environment();
     if (!$this->isSkipFunctionalTests()) {
         $this->environment->loadById(\Scalr::config('scalr.phpunit.envid'));
         $this->container->environment = $this->environment;
     }
 }
All Usage Examples Of Scalr\Tests\TestCase::setUp