/** * Sets up the fixture, for example * This method is called before a test is executed. * * @access protected */ protected function setUp() { // creates layer instances $this->frontend = new Tinebase_Pluggable_DummyFrontend(); $this->controller = new Tinebase_Pluggable_DummyController(); $this->backend = new Tinebase_Pluggable_DummyBackend(); // injects plugin into layers Tinebase_Frontend_Abstract::attachPlugin('dummyPluginMethod', 'Tinebase_Pluggable_Plugin_DummyPlugin'); Tinebase_Controller_Abstract::attachPlugin('dummyPluginMethod', 'Tinebase_Pluggable_Plugin_DummyPlugin'); Tinebase_Backend_Abstract::attachPlugin('dummyPluginMethod', 'Tinebase_Pluggable_Plugin_DummyPlugin'); }