Pantheon\Terminus\UnitTests\Commands\Remote\SSHBaseCommandTest::setUp PHP Метод

setUp() защищенный Метод

protected setUp ( )
    protected function setUp()
    {
        parent::setUp();
        $this->command = new DummyCommand($this->getConfig());
        $this->command->setSites($this->sites);
        $this->command->setLogger($this->logger);
        $this->site->expects($this->any())->method('get')->withConsecutive([$this->equalTo('framework')], [$this->equalTo('name')])->willReturnOnConsecutiveCalls('framework-a', 'site');
    }