public void ConvertAPIToAPI() { apiField1 = CreateTypicalAPIField(); converter = new FieldConverter(apiField1); apiField2 = converter.ToAPIField(); Assert.IsNotNull(apiField2); Assert.AreEqual(apiField2, apiField1); }
public void ConvertNullAPIToAPI() { apiField1 = null; converter = new FieldConverter(apiField1); Assert.IsNull(converter.ToAPIField()); }
public void ConvertNullSDKToAPI() { sdkField1 = null; converter = new FieldConverter(sdkField1); Assert.IsNull(converter.ToAPIField()); }