Ejemplo n.º 1
0
        public void whenBuildingMessageStatusWithUnknownAPIValueThenUNRECOGNIZEDMessageStatusIsReturned()
        {
            string expectedSDKValue = "UNRECOGNIZED";


            MessageStatus classUnderTest = MessageStatus.valueOf("ThisMessageStatusDoesNotExistINSDK");
            String        actualSDKValue = classUnderTest.getSdkValue();


            Assert.AreEqual(expectedSDKValue, actualSDKValue);
        }
Ejemplo n.º 2
0
        public void whenBuildingMessageStatusWithAPIValueTRASHEDThenTRASHEDMessageStatusIsReturned()
        {
            string expectedSDKValue = "TRASHED";


            MessageStatus classUnderTest = MessageStatus.valueOf("TRASHED");
            String        actualSDKValue = classUnderTest.getSdkValue();


            Assert.AreEqual(expectedSDKValue, actualSDKValue);
        }