[rules-users] Guvnor Testing Scenarios and Enums Instantiations
blinton
benjamin.linton at jackson.com
Fri Apr 9 14:51:03 EDT 2010
Hello,
Using the following imported enum:
public enum Status {
INCOMPLETE,
COMPLETE
}
And the following rule:
when
status : Status(this == Status.COMPLETE)
then
// ...
We're attempting to write a guvnor test scenario for this rule. But we can't
seem to figure out the syntax for instantiating the "given" status object.
Could someone point us in the correct direction? Many thanks.
--
View this message in context: http://n3.nabble.com/Guvnor-Testing-Scenarios-and-Enums-Instantiations-tp708996p708996.html
Sent from the Drools - User mailing list archive at Nabble.com.
More information about the rules-users
mailing list