Gc\Core\TranslatorTest::testSetValueWithSourceId PHP Method

testSetValueWithSourceId() public method

Test
public testSetValueWithSourceId ( ) : void
return void
    public function testSetValueWithSourceId()
    {
        $this->object->setValue('parameters', array(array('locale' => 'fr_FR', 'value' => 'paramètres')));
        $data = $this->object->getValue('parameters', 'fr_FR');
        $result = $this->object->setValue($data['src_id'], array(array('locale' => 'it_IT', 'value' => 'parametri')));
        $this->assertTrue($result);
    }