public function testEmptyFormNameShouldNotRenderEmptyFormId() { $form = new Form(); $form->setMethod('post')->setAction('/foo/bar')->setView($this->getView()); $html = $form->render(); $this->assertNotContains('id=""', $html, $html); }