Пример #1
0
 public function testDictionaryEnabled()
 {
     $this->scopeMock->expects($this->once())->method('getValue')->with(Config::XML_PATH_STRATEGY)->willReturn(Config::DICTIONARY_STRATEGY);
     $this->assertTrue($this->model->dictionaryEnabled());
 }
Пример #2
0
 /**
  * Is js translation set to dictionary mode
  *
  * @return bool
  */
 public function dictionaryEnabled()
 {
     return $this->config->dictionaryEnabled();
 }