public function testAddChildren()
{
$d = new Dom(Dom::XHTML11, 'utf-8', new Child('p', 'This is another paragraph'));
$d->addChild(new Child('p', 'This is a paragraph'));
$this->assertEquals(2, count($d->getChildren()));
$this->assertEquals('p', $d->getChild(0)->getNodeName());
}