PHP Class Gc\View\Helper\ModulePluginTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: gotcms/gotcms

Protected Properties

Property Type Description
$module Gc\Module\Model
$object ModulePlugin
$renderer Zend\View\Renderer\PhpRenderer

Public Methods

Method Description
testCanCreate ( ) : void Test
testCreate ( ) : void Test
testGet ( ) : void Test
testGetParameter ( ) : void Test
testHas ( ) : void Test
testInvoke ( ) : void Test
testValidatePlugin ( ) : void Test
testValidatePluginWithException ( ) : void Test

Protected Methods

Method Description
setUp ( ) : void Sets up the fixture, for example, opens a network connection.
tearDown ( ) : void Tears down the fixture, for example, closes a network connection.

Method Details

setUp() protected method

This method is called before a test is executed.
protected setUp ( ) : void
return void

tearDown() protected method

This method is called after a test is executed.
protected tearDown ( ) : void
return void

testCanCreate() public method

Test
public testCanCreate ( ) : void
return void

testCreate() public method

Test
public testCreate ( ) : void
return void

testGet() public method

Test
public testGet ( ) : void
return void

testGetParameter() public method

Test
public testGetParameter ( ) : void
return void

testHas() public method

Test
public testHas ( ) : void
return void

testInvoke() public method

Test
public testInvoke ( ) : void
return void

testValidatePlugin() public method

Test
public testValidatePlugin ( ) : void
return void

testValidatePluginWithException() public method

Test

Property Details

$module protected property

protected Model,Gc\Module $module
return Gc\Module\Model

$object protected property

protected ModulePlugin,Gc\View\Helper $object
return ModulePlugin

$renderer protected property

protected PhpRenderer,Zend\View\Renderer $renderer
return Zend\View\Renderer\PhpRenderer