public void whenBuildingTextAnchorPositionWithUnknownAPIValueThenUNRECOGNIZEDTextAnchorPositionIsReturned() { string expectedSDKValue = "UNRECOGNIZED"; Silanis.ESL.SDK.TextAnchorPosition classUnderTest = Silanis.ESL.SDK.TextAnchorPosition.valueOf("ThisTextAnchorPositionDoesNotExistINSDK"); String actualSDKValue = classUnderTest.getSdkValue(); Assert.AreEqual(expectedSDKValue, actualSDKValue); }
public void whenBuildingTextAnchorPositionWithAPIValueBOTTOMRIGHTThenBOTTOMRIGHTTextAnchorPositionIsReturned() { string expectedSDKValue = "BOTTOMRIGHT"; Silanis.ESL.SDK.TextAnchorPosition classUnderTest = Silanis.ESL.SDK.TextAnchorPosition.valueOf("BOTTOMRIGHT"); String actualSDKValue = classUnderTest.getSdkValue(); Assert.AreEqual(expectedSDKValue, actualSDKValue); }