def METHOD_NAME(self, passport_element_error_translation_files):
    passport_element_error_translation_files_dict = (
        passport_element_error_translation_files.to_dict()
    )
    assert isinstance(passport_element_error_translation_files_dict, dict)
    assert (
        passport_element_error_translation_files_dict["source"]
        == passport_element_error_translation_files.source
    )
    assert (
        passport_element_error_translation_files_dict["type"]
        == passport_element_error_translation_files.type
    )
    assert (
        passport_element_error_translation_files_dict["file_hashes"]
        == passport_element_error_translation_files.file_hashes
    )
    assert (
        passport_element_error_translation_files_dict["message"]
        == passport_element_error_translation_files.message
    )