34 protected function tearDown()
39 $cache = $this->objectManager->get(\
Magento\Framework\
App\Cache\Type\Translate::class);
46 public function testLoadDataCaching()
49 $model = $this->objectManager->get(\
Magento\Framework\Translate::class);
52 $this->assertEquals(
'Fixture Db Translation',
new Phrase(
'Fixture String'));
59 'Fixture Db Translation',
60 new Phrase(
'Fixture String'),
61 'Translation is expected to be cached' 67 new Phrase(
'Fixture String'),
68 'Forced load should not use cache'
static setRenderer(RendererInterface $renderer)
static getObjectManager()