Class FlowableCmmnTestHelper


  • public class FlowableCmmnTestHelper
    extends Object
    A Helper for the Flowable FlowableCmmnExtension that can be used within the JUnit Jupiter context store and users can use it in the tests for easy modifying of the CmmnEngine time.
    Author:
    Filip Hrisafov
    • Field Detail

      • cmmnEngine

        protected final CmmnEngine cmmnEngine
      • deploymentIdFromDeploymentAnnotation

        protected String deploymentIdFromDeploymentAnnotation
    • Constructor Detail

      • FlowableCmmnTestHelper

        public FlowableCmmnTestHelper​(CmmnEngine cmmnEngine)
    • Method Detail

      • getCmmnEngine

        public CmmnEngine getCmmnEngine()
      • getDeploymentIdFromDeploymentAnnotation

        public String getDeploymentIdFromDeploymentAnnotation()
      • setDeploymentIdFromDeploymentAnnotation

        public void setDeploymentIdFromDeploymentAnnotation​(String deploymentIdFromDeploymentAnnotation)
      • setCurrentTime

        public void setCurrentTime​(Date date)
      • setCurrentTime

        public void setCurrentTime​(Instant instant)