PHP Class Blog\Controller\IndexControllerTest

Show file Open project: gotcms/gotcms

Protected Properties

Property Type Description
$document Model
$documentType Gc\DocumentType\Model
$layout Gc\Layout\Model
$view Gc\View\Model

Public 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.
testDocumentComment ( ) : void Test
testDocumentCommentActionWithRedirect ( ) : void Test
testDocumentCommentWithPostData ( ) : void Test
testIndexAction ( ) : void Test

Method Details

setUp() public method

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

tearDown() public method

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

testDocumentComment() public method

Test
public testDocumentComment ( ) : void
return void

testDocumentCommentActionWithRedirect() public method

Test

testDocumentCommentWithPostData() public method

Test

testIndexAction() public method

Test
public testIndexAction ( ) : void
return void

Property Details

$document protected property

protected Model $document
return Model

$documentType protected property

protected Model,Gc\DocumentType $documentType
return Gc\DocumentType\Model

$layout protected property

protected Model,Gc\Layout $layout
return Gc\Layout\Model

$view protected property

protected Model,Gc\View $view
return Gc\View\Model