PHP Class Pantheon\Terminus\UnitTests\Commands\Org\ListCommandTest

Show file Open project: pantheon-systems/terminus

Protected Properties

Property Type Description
$organization Pantheon\Terminus\Models\Organization
$session Pantheon\Terminus\Session\Session
$user Pantheon\Terminus\Models\User

Public Methods

Method Description
testOrgListEmpty ( ) Tests the org:list command when the logged-in user is not a member of an organization
testOrgListNotEmpty ( ) Tests the multidev:list command when there are no multidev environments

Protected Methods

Method Description
setUp ( )

Method Details

setUp() protected method

protected setUp ( )

testOrgListEmpty() public method

Tests the org:list command when the logged-in user is not a member of an organization
public testOrgListEmpty ( )

testOrgListNotEmpty() public method

Tests the multidev:list command when there are no multidev environments
public testOrgListNotEmpty ( )

Property Details

$organization protected property

protected Organization,Pantheon\Terminus\Models $organization
return Pantheon\Terminus\Models\Organization

$session protected property

protected Session,Pantheon\Terminus\Session $session
return Pantheon\Terminus\Session\Session

$user protected property

protected User,Pantheon\Terminus\Models $user
return Pantheon\Terminus\Models\User