public function testVerificaSeOsDadosForamInseridos() { $textarea = new Textarea(); $textarea->setId("textareaMsg"); $textarea->setName("mensagem"); $textarea->setClass("form-control"); $textarea->setProtected("protected"); $textarea->setLabel("Mensagem"); $textarea->setAlert("Erro no field."); $textarea->setValue("valor"); $textarea->setRows(2); $this->assertEquals("textareaMsg", $textarea->getId()); $this->assertEquals("mensagem", $textarea->getName()); $this->assertEquals("form-control", $textarea->getClass()); $this->assertEquals("protected", $textarea->getProtected()); $this->assertEquals("Mensagem", $textarea->getLabel()); $this->assertEquals("Erro no field.", $textarea->getAlert()); $this->assertEquals("valor", $textarea->getValue()); $this->assertEquals(2, $textarea->getRows()); }