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