public void whenBuildingSenderTypeWithUnknownAPIValueThenUNRECOGNIZEDSenderTypeIsReturned() { string expectedSDKValue = "UNRECOGNIZED"; SenderType classUnderTest = SenderType.valueOf("ThisSenderTypeDoesNotExistINSDK"); String actualSDKValue = classUnderTest.getSdkValue(); Assert.AreEqual(expectedSDKValue, actualSDKValue); }
public void whenBuildingSenderTypeWithAPIValueREGULARThenREGULARSenderTypeIsReturned() { string expectedSDKValue = "REGULAR"; SenderType classUnderTest = SenderType.valueOf("REGULAR"); String actualSDKValue = classUnderTest.getSdkValue(); Assert.AreEqual(expectedSDKValue, actualSDKValue); }