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

Datei anzeigen Open project: pantheon-systems/terminus

Protected Properties

Property Type Description
$payment_methods Pantheon\Terminus\Collections\PaymentMethods
$session Pantheon\Terminus\Session\Session
$user Pantheon\Terminus\Models\User

Public Methods

Method Description
testListPaymentMethods ( ) Tests the payment-method:list command
testListPaymentMethodsEmpty ( ) Tests the payment-method:list command when the list is empty

Protected Methods

Method Description
setUp ( )

Method Details

setUp() protected method

protected setUp ( )

testListPaymentMethods() public method

Tests the payment-method:list command

testListPaymentMethodsEmpty() public method

Tests the payment-method:list command when the list is empty

Property Details

$payment_methods protected_oe property

protected PaymentMethods,Pantheon\Terminus\Collections $payment_methods
return Pantheon\Terminus\Collections\PaymentMethods

$session protected_oe property

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

$user protected_oe property

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