コード例 #1
0
 public void ConvertSDKToSDK()
 {
     sdkField1 = CreateTypicalSDKField();
     converter = new FieldConverter(sdkField1);
     sdkField2 = converter.ToSDKField();
     Assert.IsNotNull(sdkField2);
     Assert.AreEqual(sdkField2, sdkField1);
 }
コード例 #2
0
 public void ConvertNullSDKToSDK()
 {
     sdkField1 = null;
     converter = new FieldConverter(sdkField1);
     Assert.IsNull(converter.ToSDKField());
 }
コード例 #3
0
 public void ConvertNullAPIToSDK()
 {
     apiField1 = null;
     converter = new FieldConverter(apiField1);
     Assert.IsNull(converter.ToSDKField());
 }