public void ConvertAPIUnknonwnValueToUnrecognizedDocumentPackageStatus() { apiPackageStatus1 = "NEWLY_ADDED_AUTHENTICATION_METHOD"; sdkPackageStatus1 = new PackageStatusConverter(apiPackageStatus1).ToSDKPackageStatus(); Assert.AreEqual(sdkPackageStatus1.getApiValue(), apiPackageStatus1); }
static DocumentPackageStatus() { allDocumentPackageStatus.Add(DRAFT.getApiValue(), DocumentPackageStatus.DRAFT); allDocumentPackageStatus.Add(SENT.getApiValue(), DocumentPackageStatus.SENT); allDocumentPackageStatus.Add(COMPLETED.getApiValue(), DocumentPackageStatus.COMPLETED); allDocumentPackageStatus.Add(ARCHIVED.getApiValue(), DocumentPackageStatus.ARCHIVED); allDocumentPackageStatus.Add(DECLINED.getApiValue(), DocumentPackageStatus.DECLINED); allDocumentPackageStatus.Add(OPTED_OUT.getApiValue(), DocumentPackageStatus.OPTED_OUT); allDocumentPackageStatus.Add(EXPIRED.getApiValue(), DocumentPackageStatus.EXPIRED); }