public function testAppendingANewElementWithinANamespace() { $node = $this->frag->appendElementNS('test:uri', 'append', 'text'); $this->dom->registerNamespace('t', 'test:uri'); $this->assertInstanceOf('TheSeer\\fDOM\\fDOMElement', $node); $this->assertEquals(1, $this->frag->query('count(t:append)')); $this->assertEquals('text', $node->nodeValue); }