def METHOD_NAME():
    with dbing.openLMDB() as brokerdb, \
         habbing.openHby(name="bob", base="test") as bobHby, \
         habbing.openHab(name="pal") as (hby, hab):
        regery = credentialing.Regery(hby=hby, name=hab.name, temp=True)
        issuer = regery.makeRegistry(prefix=hab.pre, name=hab.name)
        rseal = SealEvent(issuer.regk, "0", issuer.regd)._asdict()
        hab.interact(data=[rseal])
        seqner = coring.Seqner(sn=hab.kever.sn)
        issuer.anchorMsg(pre=issuer.regk, regd=issuer.regd, seqner=seqner, saider=hab.kever.serder.saider)
        regery.processEscrows()
        stn = issuer.tever.state()
        rpy = eventing.reply(route="/tsn/registry/" + issuer.regk, data=stn.ked)
        bobHab = bobHby.makeHab(name="bob", isith='1', icount=1, transferable=True)
        bork = escrowing.Broker(db=brokerdb, subkey="test")
        dts = helping.nowIso8601()
        typ = "test"
        ked = rpy.ked
        pre = issuer.regk
        aid = "EwWY7LU2xwp0d4IhCvz1etbuv2iwcgBEigKJWnd-0Whs"
        serder = coring.Serder(ked=ked)
        tserder = coring.Serder(ked=ked["a"])
        saider, _ = coring.Saider.saidify(sad=ked, kind=coring.Serials.json, label=coring.Saids.d)
        dater = coring.Dater(dts=dts)
        sigers = bobHab.sign(ser=serder.raw,
                             verfers=bobHab.kever.verfers,
                             indexed=True)
        tsgs = [(bobHab.kever.prefixer, coring.Seqner(sn=bobHab.kever.lastEst.s),
                coring.Diger(qb64=bobHab.kever.lastEst.d), sigers)]
        bork.escrowStateNotice(typ=typ,
                               pre=saider.qb64,
                               aid=aid,
                               serder=serder,
                               saider=saider,
                               dater=dater,
                               tsgs=tsgs
                               )
        assert [s.qb64 for s in bork.escrowdb.get(keys=("test", saider.qb64, aid))] == [saider.qb64]
        quadkeys = (saider.qb64, bobHab.kever.prefixer.qb64, f"{bobHab.kever.lastEst.s:032x}", bobHab.kever.lastEst.d)
        assert [s.qb64 for s in bork.tigerdb.get(keys=quadkeys)] == [s.qb64 for s in sigers]
        assert bork.daterdb.get(keys=(saider.qb64,)).raw == dater.raw
        assert bork.serderdb.get(keys=(saider.qb64,)).raw == serder.raw
        def process(**kwargs):
            assert kwargs["route"] == ked["r"]
            assert len(kwargs["tsgs"]) == 1
            (prefixer, seqner, diger, sigs) = kwargs["tsgs"][0]
            assert [s.qb64 for s in sigs] == [s.qb64 for s in sigers]
            assert kwargs["cigars"] == []
            assert kwargs["aid"] == aid
            tser = coring.Serder(ked=kwargs["serder"].ked["a"])
            bork.updateState(aid=aid, serder=tser, saider=kwargs["saider"], dater=dater)
        bork.processEscrowState(typ=typ, processReply=process, extype=kering.OutOfOrderError)
        assert bork.escrowdb.get(keys=("test", saider.qb64, aid)) == []
        assert bork.serderdb.get(keys=(saider.qb64,)).raw == tserder.raw
        assert bork.saiderdb.get(keys=(pre, aid)).qb64 == saider.qb64