示例#1
0
        public void whenBuildingSenderTypeWithUnknownAPIValueThenUNRECOGNIZEDSenderTypeIsReturned()
        {
            string expectedSDKValue = "UNRECOGNIZED";


            SenderType classUnderTest = SenderType.valueOf("ThisSenderTypeDoesNotExistINSDK");
            String     actualSDKValue = classUnderTest.getSdkValue();


            Assert.AreEqual(expectedSDKValue, actualSDKValue);
        }
示例#2
0
        public void whenBuildingSenderTypeWithAPIValueREGULARThenREGULARSenderTypeIsReturned()
        {
            string expectedSDKValue = "REGULAR";


            SenderType classUnderTest = SenderType.valueOf("REGULAR");
            String     actualSDKValue = classUnderTest.getSdkValue();


            Assert.AreEqual(expectedSDKValue, actualSDKValue);
        }