Class FlowableDmnTestHelper


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

      • dmnEngine

        protected final DmnEngine dmnEngine
      • deploymentIdFromDeploymentAnnotation

        protected String deploymentIdFromDeploymentAnnotation
    • Constructor Detail

      • FlowableDmnTestHelper

        public FlowableDmnTestHelper​(DmnEngine dmnEngine)
    • Method Detail

      • getDmnEngine

        public DmnEngine getDmnEngine()
      • getDeploymentIdFromDeploymentAnnotation

        public String getDeploymentIdFromDeploymentAnnotation()
      • setDeploymentIdFromDeploymentAnnotation

        public void setDeploymentIdFromDeploymentAnnotation​(String deploymentIdFromDeploymentAnnotation)
      • setCurrentTime

        public void setCurrentTime​(Date date)
      • setCurrentTime

        public void setCurrentTime​(Instant instant)