QVERIFY(param.at(0).toString().contains("Result: \"http://www.bsi.bund.de/ecard/api/1.1/resultmajor#error | http://www.bsi.bund.de/ecard/api/1.1/resultminor/al/common#internalError | The authenticity of your ID card could not be confirmed.\""));
QVERIFY(param.at(0).toString().contains("Result: \"http://www.bsi.bund.de/ecard/api/1.1/resultmajor#error | http://www.bsi.bund.de/ecard/api/1.1/resultminor/sal#cancellationByUser | The process was cancelled by the user.\""));
QVERIFY(param.at(0).toString().contains("Result: \"http://www.bsi.bund.de/ecard/api/1.1/resultmajor#error | http://www.bsi.bund.de/ecard/api/1.1/resultminor/al/common#unknownError | An unexpected error has occurred during processing.\""));
ECardApiResultinternalError=ECardApiResult(ECardApiResult::Major::Error,ECardApiResult::Minor::AL_Internal_Error,"Lorem ipsum dolor sit amet, consetetur sadipscing elitr.",ECardApiResult::Origin::Client);
QCOMPARE(ECardApiResult(ECardApiResult::Major::Error,ECardApiResult::Minor::null,"Lorem ipsum dolor sit amet, consetetur sadipscing elitr.",ECardApiResult::Origin::Client),internalError);
QCOMPARE(ECardApiResult(ECardApiResult::Major::Ok,ECardApiResult::Minor::AL_Parameter_Error,"Lorem ipsum dolor sit amet, consetetur sadipscing elitr.",ECardApiResult::Origin::Client),internalError);
QTest::newRow("unknownError")<<ECardApiResult::Minor::AL_Unknown_Error<<tr("An unexpected error has occurred during processing.");
QTest::newRow("noPermission")<<ECardApiResult::Minor::AL_No_Permission<<tr("Use of the function by the client application is not permitted.");
QTest::newRow("internalError")<<ECardApiResult::Minor::AL_Internal_Error<<tr("An internal error has occurred during processing.");
QTest::newRow("parameterError")<<ECardApiResult::Minor::AL_Parameter_Error<<tr("There was some problem with a provided or omitted parameter.");
QTest::newRow("unknownApiFunction")<<ECardApiResult::Minor::AL_Unkown_API_Function<<tr("The API function is unknown.");
QTest::newRow("notInitialized")<<ECardApiResult::Minor::AL_Not_Initialized<<tr("The framework or layer has not been initialized.");
QTest::newRow("warningDisconnected")<<ECardApiResult::Minor::AL_Warning_Connection_Disconnected<<tr("The active session has been terminated.");
QTest::newRow("sessionTerminated")<<ECardApiResult::Minor::AL_Session_Terminated_Warning<<tr("The active session has been terminated.");
QTest::newRow("communicationError")<<ECardApiResult::Minor::AL_Communication_Error<<tr("A Communication error occurred during processing.");
QTest::newRow("timeoutError")<<ECardApiResult::Minor::DP_Timeout_Error<<tr("The operation was terminated as the set time was exceeded.");
QTest::newRow("unknownChannelHandle")<<ECardApiResult::Minor::DP_Unknown_Channel_Handle<<tr("The operation was aborted as an invalid channel handle was used.");
QTest::newRow("dpCommunicationError")<<ECardApiResult::Minor::DP_Communication_Error<<tr("A Communication error occurred during processing.");
QTest::newRow("channelEstablishmentFailed")<<ECardApiResult::Minor::DP_Trusted_Channel_Establishment_Failed<<tr("A trusted channel could not be opened.");
QTest::newRow("unknownProtocol")<<ECardApiResult::Minor::DP_Unknown_Protocol<<tr("The operation was aborted as an unknown protocol was used.");
QTest::newRow("unknownCipherSuite")<<ECardApiResult::Minor::DP_Unknown_Cipher_Suite<<tr("The operation was aborted as an unknown cipher suite was used.");
QTest::newRow("unknownWebserviceBinding")<<ECardApiResult::Minor::DP_Unknown_Webservice_Binding<<tr("The operation was aborted as an unknown web service binding was used.");
QTest::newRow("NodeNotReachable")<<ECardApiResult::Minor::DP_Node_Not_Reachable<<tr("A Communication error occurred during processing.");
QTest::newRow("IfdlTimeoutError")<<ECardApiResult::Minor::IFDL_Timeout_Error<<tr("The operation was terminated as the set time was exceeded.");
QTest::newRow("terminalNoCard")<<ECardApiResult::Minor::IFDL_Terminal_NoCard<<tr("The card is missing or was removed.");
QTest::newRow("repeatedDataMismatch")<<ECardApiResult::Minor::IFDL_IO_RepeatedDataMismatch<<tr("The new PIN and the confirmation do not match.");
QTest::newRow("unknownPinFormat")<<ECardApiResult::Minor::IFDL_IO_UnknownPINFormat<<tr("The format of the PIN is wrong.");
QTest::newRow("keyGenerationNotPossible")<<ECardApiResult::Minor::KEY_KeyGenerationNotPossible<<tr("Signature certificate key generation is not possible.");
QTest::newRow("cancellationByUser")<<ECardApiResult::Minor::SAL_Cancellation_by_User<<tr("The process was cancelled by the user.");
QTest::newRow("invalidCertificatePath")<<ECardApiResult::Minor::IL_Signature_InvalidCertificatePath<<tr("One or more certificate checks failed. The operation will be aborted due to security reasons.");
QTest::newRow("invalidKey")<<ECardApiResult::Minor::SAL_Invalid_Key<<tr("This action cannot be performed. The online identification function of your ID card is deactivated. Please contact the authority responsible for issuing your identification document to activate the online identification function.");
QTest::newRow("securityConditionNotSatisfied")<<ECardApiResult::Minor::SAL_SecurityConditionNotSatisfied<<tr("The authenticity of your ID card could not be verified. Please make sure that you are using a genuine ID card. Please note that test applications require the use of a test ID card.");
QTest::newRow("ageVerificationFailed")<<ECardApiResult::Minor::SAL_MEAC_AgeVerificationFailedWarning<<tr("The age verification failed.");
QTest::newRow("comunityVerificationFailed")<<ECardApiResult::Minor::SAL_MEAC_CommunityVerificationFailedWarning<<tr("The community verification failed.");
QTest::newRow("documentValidityVerificationFailed")<<ECardApiResult::Minor::SAL_MEAC_DocumentValidityVerificationFailed<<tr("The ID card is invalid or disabled.");