public void ConvertAPIToAPI() { apiPackage1 = CreateTypicalAPIPackage(); converter = new DocumentPackageConverter(apiPackage1); apiPackage2 = converter.ToAPIPackage(); Assert.IsNotNull(apiPackage2); Assert.AreEqual(apiPackage2, apiPackage1); }
public void ConvertNullAPIToAPI() { apiPackage1 = null; converter = new DocumentPackageConverter(apiPackage1); Assert.IsNull(converter.ToAPIPackage()); }
public void ConvertNullSDKToAPI() { sdkPackage1 = null; converter = new DocumentPackageConverter(sdkPackage1); Assert.IsNull(converter.ToAPIPackage()); }