def METHOD_NAME(self, dbsession, transact):
    from c2cgeoportal_commons.models import main
    del transact
    fts = main.FullTextSearch()
    fts.layer_name = "some_layer_name"
    fts.actions = [{"action": "add_layer", "data": "another_layer_name"}]
    dbsession.add(fts)
    dbsession.flush()
    messages = self.extract()
    assert {m.msgid for m in messages} == {
        "some_layer_name",
        "another_layer_name",
    }