コード例 #1
0
ファイル: HtmlElementTest.php プロジェクト: spoonx/sxcore
 public function testGetAttribute()
 {
     $htmlElement = new HtmlElement();
     $htmlElement->addAttribute('id', 'bacon');
     $this->assertEquals('bacon', $htmlElement->getAttribute('id'));
 }