def METHOD_NAME(self, mock_load_file):
    # create folder where new file can be stored and run createFederalStatesMobility
    gd.check_dir(self.path)
    df_return = tfmd.createFederalStatesMobility(
        self.path, mobility_file='mobility')
    # data frame iof dimensions of the federal states is returned
    self.assertEqual(len(df_return), 16)
    self.assertEqual(len(df_return.columns), 16)
    # file is written
    self.assertTrue(os.path.isfile(
        os.path.join(self.path, 'mobility_states.txt')))
    # entries are aggregated, no other entries were added, no NaNs found
    self.assertEqual(df_return.iloc[0, 1], 2+3)
    self.assertEqual(df_return.iloc[2, 5], 5+4)
    self.assertEqual(df_return.iloc[2, 11], 1+7)
    self.assertEqual(df_return.iloc[15, 2], 3+3+11)
    self.assertEqual(df_return.iloc[14, 15], 0)
    self.assertEqual(df_return.iloc[15, 7], 22)
    self.assertEqual(df_return.iloc[2, 15], 11)
    self.assertEqual(df_return.sum().sum(), 72)
    self.assertEqual(len(np.where(np.isnan(df_return) == True)[0]), 0)