function testTranslateOk() { $d = new lmbI18NDictionary(); $d->add('Hello', 'Привет'); $this->assertTrue($d->has('Hello')); $this->assertEqual($d->translate('Hello'), 'Привет'); }