Pantheon\Terminus\UnitTests\Commands\Owner\SetCommandTest::setup PHP Method

setup() protected method

protected setup ( )
    protected function setup()
    {
        parent::setUp();
        $this->user_memberships = $this->getMockBuilder(SiteUserMemberships::class)->disableOriginalConstructor()->getMock();
        $this->site->method('getUserMemberships')->willReturn($this->user_memberships);
        $this->command = new SetCommand($this->getConfig());
        $this->command->setSites($this->sites);
        $this->command->setLogger($this->logger);
    }