assertEquals( array( 'ezcWebdavPropertyHandler' => array( 'beforeExtractLiveProperty' => array( array( 'ezcWebdavPluginRegistryTest', 'callbackBeforeTest' ), array( $cfg, 'testCallback' ), ), 'afterExtractLiveProperty' => 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 ); } } ?>