def assert_filepaths_match_file_names(self, filepaths, temporary_files):
self.assertEqual(len(temporary_files), len(filepaths))<EOL>sorted_filepaths = sorted(filepaths)<EOL>sorted_temporary_files = sorted(temporary_files, key=lambda tmpfile: tmpfile.name)<EOL>for filepath, tmpfile in zip(sorted_filepaths, sorted_temporary_files):<EOL><INDENT>self.assertEqual(filepath, tmpfile.name)<EOL><DEDENT>
Assert that a list of filepaths match a list of temporary files.

        Args:
            filepaths ([str]): A list of filepaths.
            temporary_files (tempfile.NamedTemporaryFile): A list of tempfile.NamedTemporaryFile.