Example #1
0
 public function testDisablingTranslation()
 {
     $translator = $this->_getTranslator();
     $this->_helper->setTranslator($translator);
     $this->_helper->setUseTranslator(false);
     $expected = $this->_getExpected('bc/default.html');
     $this->assertEquals($expected, $this->_helper->render());
 }