\JEventDispatcherTest
Test class for JEventDispatcher.
Synopsis
class JEventDispatcherTest
extends PHPUnit_Framework_TestCase
{
- // members
- protected JEventDispatcher $object;
- // methods
- protected void setUp()
- protected void tearDown()
- public void testGetInstance()
- public void testGetState()
- public void testRegister()
- public void testRegisterException()
- public void testTrigger()
- public void testAttach()
- public void testDetach()
Hierarchy
Extends
Members
protected
- $object — JEventDispatcher
Methods
protected
- setUp() — Sets up the fixture, for example, opens a network connection.
- tearDown() — Tears down the fixture, for example, closes a network connection.
public
- testAttach() — Test JEventDispatcher::attach().
- testDetach() — Test JEventDispatcher::detach().
- testGetInstance() — Tests the JEventDispatcher::getInstance method.
- testGetState() — Test JEventDispatcher::getState().
- testRegister() — Test JEventDispatcher::register().
- testRegisterException() — Test JEventDispatcher::register() with an error.
- testTrigger() — Test JEventDispatcher::trigger().