public void ConvertAPIToAPI() { apiFieldCondition1 = CreateTypicalAPIFieldCondition(); converter = new FieldConditionConverter(apiFieldCondition1); apiFieldCondition2 = converter.ToAPIFieldCondition(); Assert.IsNotNull(apiFieldCondition2); Assert.AreEqual(apiFieldCondition2, apiFieldCondition1); }
public void ConvertNullAPIToAPI() { apiFieldCondition1 = null; converter = new FieldConditionConverter(apiFieldCondition1); Assert.IsNull(converter.ToAPIFieldCondition()); }
public void ConvertNullSDKToAPI() { sdkFieldCondition1 = null; converter = new FieldConditionConverter(sdkFieldCondition1); Assert.IsNull(converter.ToAPIFieldCondition()); }