/** * @covers HtmlElement::setValue */ public function testSetValue() { $value = "html value"; $this->assertNull($this->element->getValue()); $elt = $this->element->setValue($value); $actual = $elt->getValue(); $this->assertInstanceOf("HtmlElement", $elt); $this->assertEquals($value, $actual); }