/**
  * @test
  */
 public function test_returns_simple_cache_if_taggable_store()
 {
     $store = new ArrayStore();
     $repo = RepositoryFactory::make($store, 'translation');
     $this->assertEquals(TaggedRepository::class, get_class($repo));
 }
 /**
  *  Register the translation cache repository
  *
  *  @return void
  */
 public function registerCacheRepository()
 {
     $this->app->singleton('translation.cache.repository', function ($app) {
         $cacheStore = $app['cache']->getStore();
         return CacheRepositoryFactory::make($cacheStore, $app['config']->get('translator.cache.suffix'));
     });
 }