public function testOuterHtmlEmpty() { $a = new Tag('a'); $a->setAttributes(['href' => ['value' => 'http://google.com', 'doubleQuote' => false]]); $node = new HtmlNode($a); $this->assertEquals("<a href='http://google.com'></a>", $node->OuterHtml()); }