예제 #1
0
        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));
        }
예제 #2
0
 public override void ConvertNullSDKToAPI()
 {
     Silanis.ESL.API.ReferencedField api = ReferencedFieldConverter.ToAPI(null);
     Assert.IsNull(api);
 }
예제 #3
0
 public override void ConvertNullSDKToAPI()
 {
     OneSpanSign.API.ReferencedField api = ReferencedFieldConverter.ToAPI(null);
     Assert.IsNull(api);
 }