Пример #1
0
 /**
  * This is just a wrapper that loops the given array and calls 
  * addHtmlAttribute
  *
  * @depends	testAddGetHtmlTagAttributes
  * @return	null
  */
 public function testSetHtmlAttributes()
 {
     $attrs = array('class' => 'my-class', 'id' => 'my-id', 'checked' => null);
     $this->assertSame($this->htmlDoc, $this->htmlDoc->setHtmlAttributes($attrs));
     $this->assertEquals($attrs, $this->htmlDoc->getHtmlAttributes());
 }