public function testGetByLocale() { $cache = $this->getCache(); $languageFixture = $this->getLanguageFixture(); $cache->store($languageFixture); $this->assertSame($languageFixture, $cache->getByLocale($languageFixture->languageCode)); }