[rules-users] Guvnor test case with fact with Object fields

mpgong michael.p.gong at lmco.com
Thu May 31 11:21:57 EDT 2012


Hello,

I have a fact that has is also my entity model and it has a field that is a
class called state which holds previous and current state values (enum).

So i have a condition that gets the state and gets the two values to check.  

The issue i'm running into is with creating a test case in guvnor, is it
possible to create a test case with a field that is an object like this? 
Guvnor recognizes that i have a field called state but it doesn't realize
that it is a class so it doesn't look like i would be able to test any rules
the uses state as a condition check.

Thanks



--
View this message in context: http://drools.46999.n3.nabble.com/Guvnor-test-case-with-fact-with-Object-fields-tp4017705.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list