コード例 #1
0
 /**
  * @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);
 }