def METHOD_NAME(self, passport_element_error_data_field):
    assert passport_element_error_data_field.source == self.source
    assert passport_element_error_data_field.type == self.type_
    assert passport_element_error_data_field.field_name == self.field_name
    assert passport_element_error_data_field.data_hash == self.data_hash
    assert passport_element_error_data_field.message == self.message