public function testSetDecorationTemplate() { $this->form->view = static::phSimpleView(); $this->form->add(new Text('test')); $this->form->setDecorationTemplate('template/foo'); $output = $this->form->renderDecorated('test'); $this->assertEquals('foobar', $output); }