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

Show file Open project: pantheon-systems/terminus

Protected Properties

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

Public Methods

Method Description
testAdd ( ) Tests the payment-method:add command

Protected Methods

Method Description
setUp ( )

Method Details

setUp() protected method

protected setUp ( )

testAdd() public method

Tests the payment-method:add command
public testAdd ( )

Property Details

$payment_method protected property

protected PaymentMethod,Pantheon\Terminus\Models $payment_method
return Pantheon\Terminus\Models\PaymentMethod

$payment_methods protected property

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

$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