/** * 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); }
/** * @inheritdoc */ protected function setUp() { parent::setUp(); $this->command = new MergeToDevCommand($this->getConfig()); $this->command->setLogger($this->logger); $this->command->setSites($this->sites); $this->environment->method('mergeToDev')->willReturn($this->workflow); }