Esempio n. 1
0
        public void whenBuildingKnowledgeBasedAuthenticationStatusWithUnknownAPIValueThenUNRECOGNIZEDKnowledgeBasedAuthenticationStatusIsReturned()
        {
            string expectedSDKValue = "UNRECOGNIZED";


            KnowledgeBasedAuthenticationStatus classUnderTest = KnowledgeBasedAuthenticationStatus.valueOf("ThisKnowledgeBasedAuthenticationStatusDoesNotExistINSDK");
            String actualSDKValue = classUnderTest.getSdkValue();


            Assert.AreEqual(expectedSDKValue, actualSDKValue);
        }
Esempio n. 2
0
        public void whenBuildingKnowledgeBasedAuthenticationStatusWithAPIValuePASSEDThenPASSEDKnowledgeBasedAuthenticationStatusIsReturned()
        {
            string expectedSDKValue = "PASSED";


            KnowledgeBasedAuthenticationStatus classUnderTest = KnowledgeBasedAuthenticationStatus.valueOf("PASSED");
            String actualSDKValue = classUnderTest.getSdkValue();


            Assert.AreEqual(expectedSDKValue, actualSDKValue);
        }