def METHOD_NAME(self):
    userid = "foobar"
    nameid1 = self.id.persistent_nameid(userid, sp_name_qualifier="sp1", name_qualifier="name0")
    nameid2 = self.id.persistent_nameid(userid, sp_name_qualifier="sp1", name_qualifier="name0")
    # persistent NameIDs should be _persistent_ :-)
    assert nameid1 == nameid2