function testAssignArray()
 {
     $expected = 'This is new text, from hell.';
     $tText = "This is 'a template', 'not more'.";
     $t = new Template($tText);
     $t->assign('a template', 'just text');
     $a = array('a template' => 'new text', 'not more' => 'from hell');
     $t->assignArray($a);
     $this->assertEquals($expected, $t->result());
 }