'); $this->assertTrue($result instanceof \DOMDocument); } public function testParseFragment() { $result = Parser::parseFragment('asdf foo'); $this->assertTrue($result instanceof \DOMNodeList); } }