Class DmnEngineRule

  • All Implemented Interfaces:

    public class DmnEngineRule
    extends org.junit.rules.TestWatcher
    JUnit rule for DmnEngine initialization.


     public class YourDmnTest {
       public DmnEngineRule dmnEngineRule = new DmnEngineRule();

    The DMN engine will be made available to the test class through the getters of the dmnEngineRule (see getDmnEngine()). The DMN engine will be initialized with the default DMN engine configuration. To specify a different configuration, pass the configuration to the DmnEngineRule(DmnEngineConfiguration) constructor.