def METHOD_NAME(self, dbsession, transact):
    from c2cgeoportal_commons.models import main
    del transact
    group = main.LayerGroup(name="group")
    dbsession.add(group)
    dbsession.flush()
    messages = self.extract()
    assert {m.msgid for m in messages} == {"group"}