Esempio n. 1
0
        public void ConvertApiUnknownValueToUnrecognizedKnowledgeBasedAuthenticationStatus()
        {
            apiKnowledgeBasedAuthenticationStatus1 = "NEWLY_ADDED_KBA_STATUS";
            sdkKnowledgeBasedAuthenticationStatus1 = new KnowledgeBasedAuthenticationStatusConverter(apiKnowledgeBasedAuthenticationStatus1).ToSDKKnowledgeBasedAuthenticationStatus();

            Assert.AreEqual(sdkKnowledgeBasedAuthenticationStatus1.getApiValue(), apiKnowledgeBasedAuthenticationStatus1);
        }
Esempio n. 2
0
        public void ConvertApiPassedToSdkLocked()
        {
            apiKnowledgeBasedAuthenticationStatus1 = "LOCKED";
            sdkKnowledgeBasedAuthenticationStatus1 = new KnowledgeBasedAuthenticationStatusConverter(apiKnowledgeBasedAuthenticationStatus1).ToSDKKnowledgeBasedAuthenticationStatus();

            Assert.AreEqual(sdkKnowledgeBasedAuthenticationStatus1.getApiValue(), apiKnowledgeBasedAuthenticationStatus1);
        }
Esempio n. 3
0
        public void ConvertApiFailedToSdkFailed()
        {
            apiKnowledgeBasedAuthenticationStatus1 = "FAILED";
            sdkKnowledgeBasedAuthenticationStatus1 = new KnowledgeBasedAuthenticationStatusConverter(apiKnowledgeBasedAuthenticationStatus1).ToSDKKnowledgeBasedAuthenticationStatus();

            Assert.AreEqual(apiKnowledgeBasedAuthenticationStatus1, sdkKnowledgeBasedAuthenticationStatus1.getApiValue());
        }
Esempio n. 4
0
        public void ConvertApiPassedToSdkInvalidSigner()
        {
            apiKnowledgeBasedAuthenticationStatus1 = "INVALID_SIGNER";
            sdkKnowledgeBasedAuthenticationStatus1 = new KnowledgeBasedAuthenticationStatusConverter(apiKnowledgeBasedAuthenticationStatus1).ToSDKKnowledgeBasedAuthenticationStatus();

            Assert.AreEqual(sdkKnowledgeBasedAuthenticationStatus1.getApiValue(), apiKnowledgeBasedAuthenticationStatus1);
        }
Esempio n. 5
0
        public void ConvertApiNotYetAttemptedDToSdkNotYetAttempted()
        {
            apiKnowledgeBasedAuthenticationStatus1 = "NOT_YET_ATTEMPTED";
            sdkKnowledgeBasedAuthenticationStatus1 = new KnowledgeBasedAuthenticationStatusConverter(apiKnowledgeBasedAuthenticationStatus1).ToSDKKnowledgeBasedAuthenticationStatus();

            Assert.AreEqual(apiKnowledgeBasedAuthenticationStatus1, sdkKnowledgeBasedAuthenticationStatus1.getApiValue());
        }