PHP Class Blog\Model\CommentTest

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

Protected Properties

Property Type Description
$boostrap Blog\Module
$document Gc\Document\Model
$documentType Gc\DocumentType\Model
$layout Gc\Layout\Model
$object Comment
$user Gc\User\Model
$view Gc\View\Model

Public Methods

Method Description
testAdd ( ) : void Test
testAddWithWrongValues ( ) : void Test
testGetDocumentList ( ) : void Test
testGetList ( ) : 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

testAdd() public method

Test
public testAdd ( ) : void
return void

testAddWithWrongValues() public method

Test
public testAddWithWrongValues ( ) : void
return void

testGetDocumentList() public method

Test
public testGetDocumentList ( ) : void
return void

testGetList() public method

Test
public testGetList ( ) : void
return void

Property Details

$boostrap protected property

protected Module,Blog $boostrap
return Blog\Module

$document protected property

protected Model,Gc\Document $document
return Gc\Document\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

$object protected property

protected Comment,Blog\Model $object
return Comment

$user protected property

protected Model,Gc\User $user
return Gc\User\Model

$view protected property

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