public function testAppendingANewElement() { $node = $this->node->appendElement('append', 'text'); $this->assertInstanceOf('TheSeer\\fDOM\\fDOMElement', $node); $this->assertEquals(1, $this->node->query('count(append)')); $this->assertEquals('text', $node->nodeValue); }