public void whenBuildingFieldStyleWithAPIValueTEXTFIELDThenUNBOUND_TEXT_FIELDFieldStyleIsReturned() { string expectedSDKValue = "UNBOUND_TEXT_FIELD"; FieldStyle classUnderTest = FieldStyle.valueOf("TEXTFIELD"); string actualSDKValue = classUnderTest.getSdkValue(); Assert.AreEqual(expectedSDKValue, actualSDKValue); }
public void whenBuildingFieldStyleWithUnknownAPIValueThenUNRECOGNIZEDFieldStyleIsReturned() { string expectedSDKValue = "UNRECOGNIZED"; FieldStyle classUnderTest = FieldStyle.valueOf("ThisFieldStyleDoesNotExistInSDK"); String actualSDKValue = classUnderTest.getSdkValue(); Assert.AreEqual(expectedSDKValue, actualSDKValue); }
public void whenBuildingFieldStyleWithAPIValueQRCODEThenBOUND_QRCODEFieldStyleIsReturned() { string expectedSDKValue = "BOUND_QRCODE"; FieldStyle classUnderTest = FieldStyle.valueOf("QRCODE"); string actualSDKValue = classUnderTest.getSdkValue(); Assert.AreEqual(expectedSDKValue, actualSDKValue); }
public void whenBuildingFieldStyleWithAPIValueSEALThenSEALFieldStyleIsReturned() { string expectedSDKValue = "SEAL"; FieldStyle classUnderTest = FieldStyle.valueOf("SEAL"); string actualSDKValue = classUnderTest.getSdkValue(); Assert.AreEqual(expectedSDKValue, actualSDKValue); }
public void whenBuildingFieldStyleWithAPIValueLISTThenDROP_LISTFieldStyleIsReturned() { string expectedSDKValue = "DROP_LIST"; FieldStyle classUnderTest = FieldStyle.valueOf("LIST"); string actualSDKValue = classUnderTest.getSdkValue(); Assert.AreEqual(expectedSDKValue, actualSDKValue); }
public void whenBuildingFieldStyleWithAPIValueTEXT_AREAThenTEXT_AREAFieldStyleIsReturned() { string expectedSDKValue = "TEXT_AREA"; FieldStyle classUnderTest = FieldStyle.valueOf("TEXTAREA"); string actualSDKValue = classUnderTest.getSdkValue(); Assert.AreEqual(expectedSDKValue, actualSDKValue); }
public void whenBuildingFieldStyleWithAPIValueRADIOThenUNBOUND_RADIO_BUTTONFieldStyleIsReturned() { string expectedSDKValue = "UNBOUND_RADIO_BUTTON"; FieldStyle classUnderTest = FieldStyle.valueOf("RADIO"); string actualSDKValue = classUnderTest.getSdkValue(); Assert.AreEqual(expectedSDKValue, actualSDKValue); }
public void whenBuildingFieldStyleWithAPIValueCHECKBOXThenUNBOUND_CHECK_BOXFieldStyleIsReturned() { string expectedSDKValue = "UNBOUND_CHECK_BOX"; FieldStyle classUnderTest = FieldStyle.valueOf("CHECKBOX"); string actualSDKValue = classUnderTest.getSdkValue(); Assert.AreEqual(expectedSDKValue, actualSDKValue); }