PHP Class Gc\Event\StaticEventManagerTest

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

Protected Properties

Property Type Description
$object StaticEventManager

Public Methods

Method Description
testGetEvent ( ) : void Test
testGetEventWithoutRegisteredEvent ( ) : void Test
testGetInstance ( ) : void Test
testHasInstance ( ) : void Test
testResetInstance ( ) : void Test
testSetInstance ( ) : void Test
testTrigger ( ) : void Test
testTriggerWithoutRegisteredEvent ( ) : 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

testGetEvent() public method

Test
public testGetEvent ( ) : void
return void

testGetEventWithoutRegisteredEvent() public method

Test

testGetInstance() public method

Test
public testGetInstance ( ) : void
return void

testHasInstance() public method

Test
public testHasInstance ( ) : void
return void

testResetInstance() public method

Test
public testResetInstance ( ) : void
return void

testSetInstance() public method

Test
public testSetInstance ( ) : void
return void

testTrigger() public method

Test
public testTrigger ( ) : void
return void

testTriggerWithoutRegisteredEvent() public method

Test

Property Details

$object protected_oe property

protected StaticEventManager,Gc\Event $object
return StaticEventManager