Beispiel #1
0
        public void whenBuildingNotificationEventWithAPIValueSIGNER_COMPLETEThenSIGNER_COMPLETENotificationEventIsReturned()
        {
            string expectedSDKValue = "SIGNER_COMPLETE";


            NotificationEvent classUnderTest = NotificationEvent.valueOf("SIGNER_COMPLETE");
            string            actualSDKValue = classUnderTest.getSdkValue();


            Assert.AreEqual(expectedSDKValue, actualSDKValue);
        }
Beispiel #2
0
        public void whenBuildingNotificationEventWithAPIValuePACKAGE_DECLINEThenPACKAGE_DECLINENotificationEventIsReturned()
        {
            string expectedSDKValue = "PACKAGE_DECLINE";


            NotificationEvent classUnderTest = NotificationEvent.valueOf("PACKAGE_DECLINE");
            string            actualSDKValue = classUnderTest.getSdkValue();


            Assert.AreEqual(expectedSDKValue, actualSDKValue);
        }
Beispiel #3
0
        public void whenBuildingNotificationEventWithAPIValueROLE_REASSIGNThenROLE_REASSIGNNotificationEventIsReturned()
        {
            string expectedSDKValue = "ROLE_REASSIGN";


            NotificationEvent classUnderTest = NotificationEvent.valueOf("ROLE_REASSIGN");
            string            actualSDKValue = classUnderTest.getSdkValue();


            Assert.AreEqual(expectedSDKValue, actualSDKValue);
        }
Beispiel #4
0
        public void whenBuildingNotificationEventWithUnknownAPIValueThenUNRECOGNIZEDNotificationEventIsReturned()
        {
            string expectedSDKValue = "UNRECOGNIZED";


            NotificationEvent classUnderTest = NotificationEvent.valueOf("ThisNotificationEventDoesNotExistInSDK");
            String            actualSDKValue = classUnderTest.getSdkValue();


            Assert.AreEqual(expectedSDKValue, actualSDKValue);
        }
Beispiel #5
0
        public void whenBuildingNotificationEventWithAPIValueDOCUMENT_SIGNEDThenDOCUMENT_SIGNEDNotificationEventIsReturned()
        {
            string expectedSDKValue = "DOCUMENT_SIGNED";


            NotificationEvent classUnderTest = NotificationEvent.valueOf("DOCUMENT_SIGNED");
            string            actualSDKValue = classUnderTest.getSdkValue();


            Assert.AreEqual(expectedSDKValue, actualSDKValue);
        }