Platformsh\Cli\Tests\DrushHelperTest::setUp PHP Method

setUp() public method

public setUp ( )
    public function setUp()
    {
        $this->drushHelper = new DrushHelper();
        // Set up a dummy project with a remote environment.
        $this->project = new Project(['id' => 'test', 'title' => 'Test project title'], null, null, true);
        $this->environments[] = new Environment(['id' => 'master', 'title' => 'master', '_links' => ['public-url' => ['href' => 'http://example.com'], 'ssh' => ['href' => 'ssh://[email protected]']]], null, null, true);
        $this->tempDirSetUp();
    }