<?php

class CM_Paging_Translation_LanguageTest extends CMTest_TestCase {

    public function testRemove() {
        $language = CM_Model_Language::create('Foo', 'foo', true);
        $paging = $language->getTranslations();
        $paging->set('phrase', 'abc');
        $this->assertSame('abc', $paging->get('phrase', null, true));
        $paging->remove('phrase');
        $paging->_change();
        $this->assertNull($paging->get('phrase', null, true));
    }
}

<?php

class CM_Paging_Translation_LanguageTest extends CMTest_TestCase {

    public function testRemove() {
        $languagePagingFoo = CM_Model_Language::create('Foo', 'foo', true)->getTranslations();
        $languagePagingBar = CM_Model_Language::create('Bar', 'bar', true)->getTranslations();

        $languagePagingFoo->set('phrase', 'foo');
        $languagePagingBar->set('phrase', 'bar');
        $this->assertSame('foo', $languagePagingFoo->get('phrase', null, true));
        $this->assertSame('bar', $languagePagingBar->get('phrase', null, true));

        $languagePagingFoo->remove('phrase');
        $this->assertNull($languagePagingFoo->get('phrase', null, true));
        $this->assertSame('bar', $languagePagingBar->get('phrase', null, true));
    }
}

Test that CM_Paging_Translation_Language->remove, delete specific language value only (not all langs)
Test that CM_Paging_Translation_Language->remove, delete specific language value only (not all langs)
