Pantheon\Terminus\UnitTests\Commands\ArtCommandTest::setUp PHP Method

setUp() protected method

protected setUp ( )
    protected function setUp()
    {
        parent::setUp();
        $this->command = new ArtCommand();
        $this->command->setConfig($this->config);
        $this->output = $this->getMockBuilder(OutputInterface::class)->getMock();
        $formatter = $this->getMockBuilder(OutputFormatterInterface::class)->getMock();
        $this->output->method('getFormatter')->willReturn($formatter);
        $this->command->setOutput($this->output);
    }