public void ConvertAPIPACKAGE_DEACTIVATEToPACKAGE_DEACTIVATENotificationEvent()
        {
            apiNotificationEvent1 = "PACKAGE_DEACTIVATE";
            sdkNotificationEvent1 = new EventNotificationConverter(apiNotificationEvent1).ToSDKNotificationEvent();

            Assert.AreEqual(apiNotificationEvent1, sdkNotificationEvent1.getApiValue());
        }
        public void ConvertAPIROLE_REASSIGNToROLE_REASSIGNNotificationEvent()
        {
            apiNotificationEvent1 = "ROLE_REASSIGN";
            sdkNotificationEvent1 = new EventNotificationConverter(apiNotificationEvent1).ToSDKNotificationEvent();

            Assert.AreEqual(apiNotificationEvent1, sdkNotificationEvent1.getApiValue());
        }
        public void ConvertAPIDOCUMENT_SIGNEDToDOCUMENT_SIGNEDNotificationEvent()
        {
            apiNotificationEvent1 = "DOCUMENT_SIGNED";
            sdkNotificationEvent1 = new EventNotificationConverter(apiNotificationEvent1).ToSDKNotificationEvent();

            Assert.AreEqual(apiNotificationEvent1, sdkNotificationEvent1.getApiValue());
        }
        public void ConvertAPISIGNER_COMPLETEToSIGNER_COMPLETENotificationEvent()
        {
            apiNotificationEvent1 = "SIGNER_COMPLETE";
            sdkNotificationEvent1 = new EventNotificationConverter(apiNotificationEvent1).ToSDKNotificationEvent();

            Assert.AreEqual(apiNotificationEvent1, sdkNotificationEvent1.getApiValue());
        }
        public void ConvertAPIUnknonwnValueToUnrecognizedNotificationEvent()
        {
            apiNotificationEvent1 = "NEWLY_ADDED_NOTIFICATION_EVENT";
            sdkNotificationEvent1 = new EventNotificationConverter(apiNotificationEvent1).ToSDKNotificationEvent();

            Assert.AreEqual(sdkNotificationEvent1.getApiValue(), apiNotificationEvent1);
        }
 static NotificationEvent()
 {
     allNotificationEvents.Add(PACKAGE_ACTIVATE.getApiValue(), PACKAGE_ACTIVATE);
     allNotificationEvents.Add(PACKAGE_COMPLETE.getApiValue(), PACKAGE_COMPLETE);
     allNotificationEvents.Add(PACKAGE_EXPIRE.getApiValue(), PACKAGE_EXPIRE);
     allNotificationEvents.Add(PACKAGE_OPT_OUT.getApiValue(), PACKAGE_OPT_OUT);
     allNotificationEvents.Add(PACKAGE_DECLINE.getApiValue(), PACKAGE_DECLINE);
     allNotificationEvents.Add(SIGNER_COMPLETE.getApiValue(), SIGNER_COMPLETE);
     allNotificationEvents.Add(DOCUMENT_SIGNED.getApiValue(), DOCUMENT_SIGNED);
     allNotificationEvents.Add(ROLE_REASSIGN.getApiValue(), ROLE_REASSIGN);
     allNotificationEvents.Add(PACKAGE_CREATE.getApiValue(), PACKAGE_CREATE);
     allNotificationEvents.Add(PACKAGE_DEACTIVATE.getApiValue(), PACKAGE_DEACTIVATE);
     allNotificationEvents.Add(PACKAGE_READY_FOR_COMPLETION.getApiValue(), PACKAGE_READY_FOR_COMPLETION);
     allNotificationEvents.Add(PACKAGE_TRASH.getApiValue(), PACKAGE_TRASH);
     allNotificationEvents.Add(PACKAGE_RESTORE.getApiValue(), PACKAGE_RESTORE);
     allNotificationEvents.Add(PACKAGE_DELETE.getApiValue(), PACKAGE_DELETE);
     allNotificationEvents.Add(KBA_FAILURE.getApiValue(), KBA_FAILURE);
     allNotificationEvents.Add(EMAIL_BOUNCE.getApiValue(), EMAIL_BOUNCE);
     allNotificationEvents.Add(PACKAGE_ATTACHMENT.getApiValue(), PACKAGE_ATTACHMENT);
     allNotificationEvents.Add(SIGNER_LOCKED.getApiValue(), SIGNER_LOCKED);
 }