public function testHasNoContentForSelfClosingTags() { $el = new HTMLElement('input'); $el->setContent($this->testContent); $this->assertEmpty($el->getContent()); }