Pantheon\Terminus\UnitTests\Commands\Multidev\MultidevCommandTest::setUp PHP Méthode

setUp() protected méthode

protected setUp ( )
    protected function setUp()
    {
        parent::setUp();
        $this->workflow = $this->getMockBuilder(Workflow::class)->disableOriginalConstructor()->getMock();
    }

Usage Example

 /**
  * Sets up the fixture, for example, open a network connection.
  * This method is called before a test is executed.
  */
 protected function setUp()
 {
     parent::setUp();
     $this->command = new ListCommand($this->getConfig());
     $this->command->setLogger($this->logger);
     $this->command->setSites($this->sites);
 }
All Usage Examples Of Pantheon\Terminus\UnitTests\Commands\Multidev\MultidevCommandTest::setUp
MultidevCommandTest