PHP Class Pantheon\Terminus\UnitTests\Models\ModelTestCase

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: pantheon-systems/terminus Class Usage Examples

Protected Properties

Property Type Description
$collection TerminusCollection
$config Pantheon\Terminus\Config
$model TerminusModel
$request Pantheon\Terminus\Request\Request

Public Methods

Method Description
getConfig ( ) : Config

Protected Methods

Method Description
configSet ( array $values ) Set a mocked config param
setUp ( )

Method Details

configSet() protected method

Set a mocked config param
protected configSet ( array $values )
$values array An array of key/values

getConfig() public method

public getConfig ( ) : Config
return Pantheon\Terminus\Config

setUp() protected method

protected setUp ( )

Property Details

$collection protected property

protected TerminusCollection $collection
return TerminusCollection

$config protected property

protected Config,Pantheon\Terminus $config
return Pantheon\Terminus\Config

$model protected property

protected TerminusModel $model
return TerminusModel

$request protected property

protected Request,Pantheon\Terminus\Request $request
return Pantheon\Terminus\Request\Request