def METHOD_NAME(self):
    from pyff.constants import config
    entity_id = root(self.t).get('entityID')
    self.md.store.update(root(self.t), entity_id)
    e = self.md.lookup(entity_id)[0]
    langs_save = config.langs
    config.langs = ['sv', 'en']
    name, desc = entity_extended_display(e)
    config.langs = langs_save
    assert name == 'Example universitet'
    assert desc == 'Identity Provider för Example universitet'
    name, desc = entity_extended_display(e)
    assert name == 'Example University'
    assert desc == 'Identity Provider for Example University'