def METHOD_NAME(self):
    a = TagRemove_NameIsRef_FR(None)
    a.init(None)
    name = [(u"Route des Poules N10 vers le poulailler", True, u"Route des Poules vers le poulailler", u"N10"),
            (u"Chemin de la C6 au moulin", False, None, None),
            (u"Ancienne RN 7", True, u"Ancienne", u"N 7"),
            (u"la D21E1", True, "la", u"D21E1"),
            (u"ancienne N10", True, None, None),
            (u"RN 7", True, None, u"N 7"),
            (u"N° 7", True, None, None),
           ]
    for (n, gen_err, f, r) in name:
        rdp = a.way(None, {"name": n, "highway": "H"}, None)
        if gen_err:
            self.check_err(rdp, ("name='{0}'".format(n)))
        else:
            assert not rdp, ("name='{0}'".format(n))
        if f:
            fix1 = rdp["fix"]["~"]["name"]
            self.assertEqual(fix1, f, "name='{0}' - fix = wanted='{1}' / got='{2}'".format(n, f, fix1))
        elif gen_err and r:
            fix1 = rdp["fix"]["-"]
            self.assertEqual(fix1, ["name"], "name='{0}' - fix = wanted='{1}' / got='{2}'".format(n, f, fix1))
        if r:
            fix2 = rdp["fix"]["+"]["ref"]
            self.assertEqual(fix2, r, "ref='{0}' - fix = wanted='{1}' / got='{2}'".format(n, r, fix2))
        assert not a.way(None, {"name": n, "highway": "H", "ref": "N10"}, None)
        assert not a.way(None, {"name": n}, None)