Example #1
0
 public function testTransactionTranslation()
 {
     $t = new Template();
     $t->setText('One {key} three');
     $t->substitute(array('key' => 'two'));
     $ver = $t->buildVerification($this->getChart());
     $this->assertEquals('One two three', $ver->getText());
 }