示例#1
0
 public function testGetAttribute()
 {
     $htmlElement = new HtmlElement();
     $htmlElement->addAttribute('id', 'bacon');
     $this->assertEquals('bacon', $htmlElement->getAttribute('id'));
 }