public override void ConvertSDKToAPI() { ReferencedFieldConditions sdkConditions = createSdkReferencedFieldConditionsForTest(); ReferencedField sdk = new ReferencedField(); sdk.FieldId = FIELD_1_ID; sdk.Conditions = sdkConditions; Silanis.ESL.API.ReferencedField api = ReferencedFieldConverter.ToAPI(sdk); Assert.AreEqual(api.FieldId, FIELD_1_ID); Assert.IsTrue(compareReferencedFieldConditions(api.Conditions, sdkConditions)); }
public override void ConvertNullSDKToAPI() { Silanis.ESL.API.ReferencedField api = ReferencedFieldConverter.ToAPI(null); Assert.IsNull(api); }
public override void ConvertNullSDKToAPI() { OneSpanSign.API.ReferencedField api = ReferencedFieldConverter.ToAPI(null); Assert.IsNull(api); }