Class ProcessFlowTest

    • Constructor Detail

      • ProcessFlowTest

        public ProcessFlowTest()
    • Method Detail

      • prepare

        public static void prepare()
                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • setupActions

        public void setupActions()
      • removeProcessDefinitions

        public static void removeProcessDefinitions()
      • resetServices

        public void resetServices()
      • testErrorCode

        public void testErrorCode()
                           throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • testProcessPaymentNotTaken

        public void testProcessPaymentNotTaken()
                                        throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • testErrorInProcess

        public void testErrorInProcess()
                                throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • testExceptionInProcess

        public void testExceptionInProcess()
                                    throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • testConsignmentStatusCancel

        public void testConsignmentStatusCancel()
                                         throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • testProcessFraudFinalFraudScheduledForCleanup

        public void testProcessFraudFinalFraudScheduledForCleanup()
                                                           throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • testProcessFraudFinalFraudNotScheduledForCleanup

        public void testProcessFraudFinalFraudNotScheduledForCleanup()
                                                              throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • testProcessFraudFinalPotential

        public void testProcessFraudFinalPotential()
                                            throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • testProcessPaymentFailed

        public void testProcessPaymentFailed()
                                      throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • testProcessAuthorizationFailed

        public void testProcessAuthorizationFailed()
                                            throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • testProcessOk

        public void testProcessOk()
                           throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • setResultForAction

        protected void setResultForAction​(java.lang.String action,
                                          java.lang.String result)
      • setThrowExceptionForAction

        protected void setThrowExceptionForAction​(java.lang.String action,
                                                  boolean throwException)
      • assertStep

        protected void assertStep​(BusinessProcessModel process,
                                  java.lang.String bean)
                           throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • getBean

        protected static java.lang.Object getBean​(java.lang.String name)