public function testGetData()
{
$template = new atoum\template();
$this->assert->string($template->getData())->isEmpty();
$template = new atoum\template($data = uniqid());
$this->assert->string($template->getData())->isEqualTo($data);
$template = new atoum\template();
$template->setData($data = uniqid());
$this->assert->string($template->getData())->isEqualTo($data);
$template->addChild(new atoum\template($otherData = uniqid()));
$this->assert->string($template->getData())->isEqualTo($data);
$template->build();
$this->assert->string($template->getData())->isEqualTo($data . $otherData);
}