\JCacheControllerCallbackTest_Callback
A unit test class for SubjectClass The two annotations below are required because we use mocks. This avoids bringing bogus classes into the main process.
Synopsis
class JCacheControllerCallbackTest_Callback
extends PHPUnit_Framework_TestCase
{
- // methods
- protected void setUp()
- public void testCallbackFunction()
- public void testCallbackStatic()
- public void testCallbackInstance()
Hierarchy
Extends
Tasks
Tasks
Line | Task |
---|---|
31 | remove: require_once dirname(dirname(dirname(dirname(dirname(__DIR__))))).'/bootstrap.php'; |
Methods
protected
- setUp() — Setup.
public
- testCallbackFunction() — Test...
- testCallbackInstance() — Test callbackInstance
- testCallbackStatic() — Test callbackStatic