assertEquals( array( 'ezcWebdavTransport' => array( 'beforeParseRequest' => array( array( 'ezcWebdavPluginRegistryTest', 'callbackBeforeTest' ), array( $cfg, 'testCallback' ), ), 'afterProcessResponse' => array( array( 'ezcWebdavPluginRegistryTest', 'callbackAfterTest' ), array( $cfg, 'testCallback' ) ), ), ), $cfg->getHooks() ); } public function testGetNamespace() { $cfg = new fooCustomWebdavPluginConfiguration(); $this->assertEquals( 'foonamespace', $cfg->getNamespace() ); } public function testInit() { $cfg = new fooCustomWebdavPluginConfiguration(); $cfg->init(); $this->assertTrue( $cfg->init ); } } ?>