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

testRemove() public method

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