def METHOD_NAME(self):
    expected_file = os.path.join(test_files_dir, "basic.vtt")
    expected_language = languages.getlang_by_name("Arabic")
    converter = build_subtitle_converter_from_file(
        os.path.join(test_files_dir, "basic.srt")
    )
    converter.replace_unknown_language(expected_language.code)
    actual_file_d, actual_file_name = tempfile.mkstemp()
    converter.write(actual_file_name, expected_language.code)
    self.assertFilesEqual(expected_file, actual_file_name)
    os.close(actual_file_d)
    os.remove(actual_file_name)