PHP Class Gc\View\Helper\FormCheckboxTest

Inheritance: extends PHPUnit_Framework_TestCase
Datei anzeigen Open project: gotcms/gotcms

Protected Properties

Property Type Description
$element Zend\Form\Element\Checkbox
$object FormCheckbox

Public Methods

Method Description
testRender ( ) : void Test
testRenderWithCheckedValue ( ) : void Test
testRenderWithClass ( ) : void Test
testRenderWithClassAndId ( ) : void Test
testRenderWithoutElementCheckbox ( ) : void Test
testRenderWithoutName ( ) : 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

testRender() public method

Test
public testRender ( ) : void
return void

testRenderWithCheckedValue() public method

Test
public testRenderWithCheckedValue ( ) : void
return void

testRenderWithClass() public method

Test
public testRenderWithClass ( ) : void
return void

testRenderWithClassAndId() public method

Test
public testRenderWithClassAndId ( ) : void
return void

testRenderWithoutElementCheckbox() public method

Test

testRenderWithoutName() public method

Test
public testRenderWithoutName ( ) : void
return void

Property Details

$element protected_oe property

protected Checkbox,Zend\Form\Element $element
return Zend\Form\Element\Checkbox

$object protected_oe property

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