/** * @expectedException Dwoo_Exception */ public function testAddPostProcessorWithBadName() { $cmp = new Dwoo_Compiler(); $cmp->addPostProcessor('__BAAAAD__', true); $tpl = new Dwoo_Template_String(''); $tpl->forceCompilation(); $this->dwoo->get($tpl, array(), $cmp); }