Data Model used in the tutorial
Data Model used in the tutorial
Implement the POJO model
The pojo model is already implemented int he drools-lesson-pojo maven artefact.
Create a Helper Class
To simplify the writing of tests, we shall write a helper class. This class should be named KnowledgeSessionHelper
This class contains all static methods to create sessions and knowledge bases for us. Look in the first test class how to use it.
Create the first test case
And push the Finish Button
the code should be entered like this :
Select the open class, Right-click, and run as JUnit Test :
We are now ready to start the lessons.
Last updated