function testArrayGet() { global $langde; $l10n = new L10n('de'); $this->assertEqual($langde['admin'], $l10n->message('admin')); $this->assertEqual($langde['admin'], $l10n['admin']); $this->assertEqual('Undefined message!', $l10n['bla bla']); }