public function testRenderWithoutName() { $this->setExpectedException('Zend\\Form\\Exception\\DomainException'); $this->object->render(new Element\Checkbox()); }