def METHOD_NAME(self):
    self.assertEqual(0, len(cvmfs_geo.geo_cache))
    now = 0
    self.assertEqual(CERNgeo, name_geoinfo(now, CERNname))
    self.assertEqual(FNALgeo, name_geoinfo(now, FNALname))
    self.assertEqual(IHEPgeo, name_geoinfo(now, IHEPname))
    self.assertEqual(RALgeo,  name_geoinfo(now, RALname))
    self.assertEqual(4, len(cvmfs_geo.geo_cache))
    # test the caching, when there's no database available
    savegireader = cvmfs_geo.gireader
    cvmfs_geo.gireader = None
    now = 1
    self.assertEqual(CERNgeo, name_geoinfo(now, CERNname))
    self.assertEqual(FNALgeo, name_geoinfo(now, FNALname))
    self.assertEqual(IHEPgeo, name_geoinfo(now, IHEPname))
    self.assertEqual(RALgeo,  name_geoinfo(now, RALname))
    cvmfs_geo.gireader = savegireader