ServiceTest::setUp PHP Méthode

setUp() protected méthode

This method is called before a test is executed.
protected setUp ( )
    protected function setUp()
    {
        $this->object = new Service();
    }

Usage Example

 /**
  * Test set up
  */
 public function setUp()
 {
     parent::setUp();
     $this->service = new SearchMediaService($this->appName, $this->environment, $this->logger);
 }
All Usage Examples Of ServiceTest::setUp