Class FlowableDmnTestHelper

java.lang.Object
org.flowable.dmn.engine.test.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 Details

    • dmnEngine

      protected final DmnEngine dmnEngine
    • deploymentIdFromDeploymentAnnotation

      protected String deploymentIdFromDeploymentAnnotation
  • Constructor Details

    • FlowableDmnTestHelper

      public FlowableDmnTestHelper(DmnEngine dmnEngine)
  • Method Details

    • 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)