PHP Class ActivityLog\Model\TemplateTest

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

Protected Properties

Property Type Description
$boostrap ActivityLog\Module
$object Comment

Public Methods

Method Description
testAddEventShouldReturnNull ( ) : void Test
testGetTemplateWithFakeIdShouldReturnFalse ( ) : void Test
testGetTemplateWithIdShouldReturnFalse ( ) : void Test
testGetTemplates ( ) : void Test
testRenderWithHelperVariable ( ) : 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

testAddEventShouldReturnNull() public method

Test
public testAddEventShouldReturnNull ( ) : void
return void

testGetTemplateWithFakeIdShouldReturnFalse() public method

Test

testGetTemplateWithIdShouldReturnFalse() public method

Test

testGetTemplates() public method

Test
public testGetTemplates ( ) : void
return void

testRenderWithHelperVariable() public method

Test
public testRenderWithHelperVariable ( ) : void
return void

Property Details

$boostrap protected property

protected Module,ActivityLog $boostrap
return ActivityLog\Module

$object protected property

protected Comment $object
return Comment