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-tp...
Sent from the Drools - User mailing list archive at
Nabble.com.