/** * It should be possible to disable translation even if the helper has a * translator * */ public function testShouldBeAbleToDisableTranslation() { $translator = $this->_getTranslator(); $this->_helper->setTranslator($translator); $this->_helper->setUseTranslator(false); $expected = file_get_contents($this->_files . '/breadcrumbs.html'); $this->assertEquals($expected, $this->_helper->toString()); $this->_helper->setTranslator(null); }