public function testGetChild()
{
$template = new atoum\template();
$this->assert->variable($template->getChild(0))->isNull()->variable($template->getChild(rand(1, PHP_INT_MAX)))->isNull()->variable($template->getChild(-rand(1, PHP_INT_MAX)))->isNull();
$template->addChild($childTemplate = new atoum\template());
$this->assert->variable($template->getChild(0))->isIdenticalTo($childTemplate)->variable($template->getChild(rand(1, PHP_INT_MAX)))->isNull()->variable($template->getChild(-rand(1, PHP_INT_MAX)))->isNull();
}