Ejemplo n.º 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);
        }
Ejemplo n.º 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);
        }
Ejemplo n.º 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);
        }
Ejemplo n.º 4
0
        public void whenBuildingNotificationEventWithUnknownAPIValueThenUNRECOGNIZEDNotificationEventIsReturned()
        {
            string expectedSDKValue = "UNRECOGNIZED";


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


            Assert.AreEqual(expectedSDKValue, actualSDKValue);
        }
Ejemplo n.º 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);
        }