public void ConvertSDKToAPI() { sdkPackageStatus1 = CreateTypicalSDKPackageStatus(); apiPackageStatus1 = new PackageStatusConverter(sdkPackageStatus1).ToAPIPackageStatus(); Assert.AreEqual(apiPackageStatus1.ToString(), sdkPackageStatus1.ToString()); }
public void ConvertAPIToSDK() { apiPackageStatus1 = CreateTypicalAPIPackageStatus(); sdkPackageStatus1 = new PackageStatusConverter(apiPackageStatus1).ToSDKPackageStatus(); Assert.AreEqual(sdkPackageStatus1.ToString(), apiPackageStatus1.ToString()); }
public void ConvertSDKToAPI() { sdkPackageStatus1 = DocumentPackageStatus.DRAFT; apiPackageStatus1 = new PackageStatusConverter(sdkPackageStatus1).ToAPIPackageStatus(); Assert.AreEqual(apiPackageStatus1.ToString(), sdkPackageStatus1.ToString()); }
public void ConvertAPIToSDK() { apiPackageStatus1 = DocumentPackageStatus.EXPIRED.getApiValue(); sdkPackageStatus1 = new PackageStatusConverter(apiPackageStatus1).ToSDKPackageStatus(); Assert.AreEqual(sdkPackageStatus1.ToString(), apiPackageStatus1.ToString()); }
public void ConvertAPIExpiredToSDKExpired() { string expectedSDKStatus = "EXPIRED"; apiPackageStatus1 = DocumentPackageStatus.EXPIRED.getApiValue(); sdkPackageStatus1 = new PackageStatusConverter(apiPackageStatus1).ToSDKPackageStatus(); Assert.AreEqual(expectedSDKStatus, sdkPackageStatus1.ToString()); }
public void ConvertAPIOpted_OutToSDKOpted_Out() { string expectedSDKStatus = "OPTED_OUT"; apiPackageStatus1 = DocumentPackageStatus.OPTED_OUT.getApiValue(); sdkPackageStatus1 = new PackageStatusConverter(apiPackageStatus1).ToSDKPackageStatus(); Assert.AreEqual(expectedSDKStatus, sdkPackageStatus1.ToString()); }
public void ConvertAPIDeclinedToSDKDeclined() { string expectedSDKStatus = "DECLINED"; apiPackageStatus1 = DocumentPackageStatus.DECLINED.getApiValue(); sdkPackageStatus1 = new PackageStatusConverter(apiPackageStatus1).ToSDKPackageStatus(); Assert.AreEqual(expectedSDKStatus, sdkPackageStatus1.ToString()); }
public void ConvertAPIArchivedToSDKArchived() { string expectedSDKStatus = "ARCHIVED"; apiPackageStatus1 = DocumentPackageStatus.ARCHIVED.getApiValue(); sdkPackageStatus1 = new PackageStatusConverter(apiPackageStatus1).ToSDKPackageStatus(); Assert.AreEqual(expectedSDKStatus, sdkPackageStatus1.ToString()); }
public void ConvertAPICompletedToSDKCompleted() { string expectedSDKStatus = "COMPLETED"; apiPackageStatus1 = DocumentPackageStatus.COMPLETED.getApiValue(); sdkPackageStatus1 = new PackageStatusConverter(apiPackageStatus1).ToSDKPackageStatus(); Assert.AreEqual(expectedSDKStatus, sdkPackageStatus1.ToString()); }
public void ConvertAPISentDraftToSDKSent() { string expectedSDKStatus = "SENT"; apiPackageStatus1 = DocumentPackageStatus.SENT.getApiValue(); sdkPackageStatus1 = new PackageStatusConverter(apiPackageStatus1).ToSDKPackageStatus(); Assert.AreEqual(expectedSDKStatus, sdkPackageStatus1.ToString()); }