Skip to main content
To easily test DMN decisions in a JUnit test, the DMN engine provides a JUnit Rule. The DmnEngineRule creates a new default DMN engine. The DMN engine can be used in test cases to parse and evaluate decisions.
If you want to create a DMN engine with a custom configuration, you can pass this to the DMN engine rule.
The DmnDecisionResult implements the interface List<DmnDecisionResultEntries>. Whereas the DmnDecisionResultEntries implements the interface Map<String, Object>. This allows you to use common List or Map asserts.