/** * Test for exceptions from render without render.types parameters * @expectedException \DomainException * @expectedExceptionMessage render.types is not defined in renderer parameters */ public function testExceptionFromRenderWithoutTypes() { $this->_sut->setParameters(array()); $this->_sut->render('test', new \XSLTemplate\XML\Writer()); }