public function testAppendingAnXMLStringCreatesAFragment() { $frag = $this->node->appendXML('<append />'); $this->assertInstanceOf('TheSeer\\fDOM\\fDOMDocumentFragment', $frag); $this->assertEquals(1, $this->node->query('count(append)')); }