def METHOD_NAME(self, mock_file, mock_in):
    # this should not raise any errors
    ghd.get_hospitalization_data(out_folder=self.path)
    # check if all files are written
    self.assertEqual(
        len(os.listdir(os.path.join(self.path, 'Germany'))), 5)