def METHOD_NAME(self, mock_print):
    (
        countykey2govkey, countykey2localnumlist, gov_county_table,
        state_gov_table) = gcm.assign_geographical_entities(
        self.countykey_list, self.govkey_list)
    for item in self.test_countykey2govkey.keys():
        self.assertEqual(
            self.test_countykey2govkey.get(item),
            countykey2govkey.get(item))
    # check if all countyIDs are in countykey2govkey
    for key in geoger.get_county_ids(True, False, True):
        self.assertIn(key, countykey2govkey.keys())
        self.assertIn(key, countykey2localnumlist.keys())
    for item in self.test_countykey2localnumlist.keys():
        self.assertEqual(self.test_countykey2localnumlist.get(
            item), countykey2localnumlist.get(item))
    for item in self.test_state_gov_table:
        self.assertIn(item, state_gov_table)
    for item in self.test_gov_county_table:
        self.assertIn(item, gov_county_table)
    # test case with not matching countykey and govkey lists
    (countykey2govkey, countykey2localnumlist, gov_county_table,
     state_gov_table) = gcm.assign_geographical_entities(
        self.test_countykey_list, self.test_govkey_list)
    self.assertEqual(countykey2govkey, collections.OrderedDict())
    self.assertEqual(countykey2localnumlist, collections.OrderedDict())
    self.assertEqual(gov_county_table, [
                     [], [], [], [], [], [], [], [], [], [], [], []])
    self.assertEqual(state_gov_table, self.test_state_gov_table)
    # test case with different number of data
    gcm.assign_geographical_entities(
        self.test_countykey_list, self.govkey_list)
    Errorcall = ('Error. Number of government regions wrong.')
    mock_print.assert_called_with(Errorcall)