def METHOD_NAME():
    noter = notifying.Noter()
    assert noter.path.endswith("/not/not")
    noter.reopen()
    noter.close(clear=True)
    noter = notifying.Noter(temp=True)
    assert noter.path.startswith("/tmp")
    payload = dict(name="John", email="john@example.com", msg="test")
    dt = helping.fromIso8601("2022-07-08T15:01:05.453632")
    cig = coring.Cigar(qb64="AABr1EJXI1sTuI51TXo4F1JjxIJzwPeCxa-Cfbboi7F4Y4GatPEvK629M7G_5c86_Ssvwg8POZWNMV-WreVqBECw")
    note = notifying.notice(attrs=payload, dt=dt)
    assert noter.add(note, cig) is True
    notes = noter.getNotes(start=0)
    assert len(notes) == 1
    note1, cig1 = notes[0]
    assert note1.rid == note.rid
    assert cig1.qb64 == cig.qb64
    notes = noter.getNotes(start=0)
    assert len(notes) == 1
    note2, cig2 = notes[0]
    assert note2.rid == note.rid
    assert cig2.qb64 == cig.qb64
    assert noter.rem("ABC") is False
    assert noter.rem(note.rid) is True
    notes = noter.getNotes(start=0)
    assert len(notes) == 0
    dt = datetime.datetime.now()
    note = notifying.notice(attrs=dict(a=1))
    assert noter.add(note, cig) is True
    note = notifying.notice(attrs=dict(a=2))
    assert noter.add(note, cig) is True
    note = notifying.notice(attrs=dict(a=3))
    assert noter.add(note, cig) is True
    res = []
    for note in noter.getNotes(start=0):
        res.append(note)
    assert len(res) == 3
    assert res[0][0].attrs['a'] == 1
    assert res[1][0].attrs['a'] == 2
    assert res[2][0].attrs['a'] == 3
    # test paginated iteration
    for i in range(10):
        note = notifying.notice(attrs=dict(a=i))
        assert noter.add(note, cig) is True
    res = []
    for note in noter.getNotes(end=4):
        res.append(note)
    assert len(res) == 5
    cnt = noter.getNoteCnt()
    assert cnt == 13