public void ConvertSDKToSDK() { sdkDocument1 = CreateTypicalSDKDocument(); converter = new DocumentConverter(sdkDocument1); sdkDocument2 = converter.ToSDKDocument(); Assert.IsNotNull(sdkDocument2); Assert.AreEqual(sdkDocument2, sdkDocument1); }
public void ConvertNullSDKToSDK() { sdkDocument1 = null; converter = new DocumentConverter(sdkDocument1); Assert.IsNull(converter.ToSDKDocument()); }
public void ConvertNullAPIToSDK() { apiDocument1 = null; converter = new DocumentConverter(apiDocument1, apiPackage); Assert.IsNull(converter.ToSDKDocument()); }