public function setUp() { $this->cache = CacheFactory::adapterFactory('memory', array('memory_limit' => 0)); Locale::setCache($this->cache); }