eZ\Publish\Core\Persistence\Legacy\Tests\Content\Language\CacheTest::testStore PHP Method

testStore() public method

public testStore ( )
    public function testStore()
    {
        $cache = $this->getCache();
        $languageFixture = $this->getLanguageFixture();
        $cache->store($languageFixture);
        $this->assertAttributeEquals(array($languageFixture->id => $languageFixture), 'mapById', $cache);
        $this->assertAttributeEquals(array($languageFixture->languageCode => $languageFixture), 'mapByLocale', $cache);
    }