def METHOD_NAME(self):
    expected_language = languages.getlang_by_name("Arabic")
    converter = build_subtitle_converter_from_file(
        os.path.join(test_files_dir, "basic.srt")
    )
    self.assertTrue(converter.has_language(LANGUAGE_CODE_UNKNOWN))
    converter.replace_unknown_language(expected_language.code)
    self.assertTrue(converter.has_language(expected_language.code))
    self.assertFalse(converter.has_language(LANGUAGE_CODE_UNKNOWN))