function testFillForm() { $textElem = new TextElement("testName", 1, "prompt", "error", false); $textElem->fillData("dummyData"); $this->assertSame("dummyData", $textElem->getValue()); }