def METHOD_NAME(self):
    zone = GeoZoneFactory(validity__end=END_OF_TIME)
    for i in range(3):
        start = zone.validity.start - (i + 1) * A_YEAR
        end = zone.validity.start - i * A_YEAR
        GeoZoneFactory(code=zone.code,
                       validity__start=start, validity__end=end)
    geoid = '{0.level}:{0.code}@latest'.format(zone)
    result = GeoZone.objects.resolve(geoid)
    self.assertEqual(result, zone)