A step in the setup of a nodeTestCase, it allows any configuration parameters to be passed. Note that the RuleBase and Working Memory are recreated and changed in the context, so the configuration step should be the first one in the setup of your nodeTestCase or you may face inconsistent behavior.
Usage:Setup Config: drools.phreakEnabled, true; ObjectTypeNode: otnLeft1, org.drools.Person; LeftInputAdapterNode: lian0, otnLeft1; ObjectTypeNode: otnRight1, org.drools.Person; Binding: p1, 0, org.drools.Person, age; JoinNode: join1, lian0, otnRight1; age, !=, p1; Facts: new org.drools.Person('darth', 35), new org.drools.Person('bobba', 36),
|
|
|
|
|
|