How to assert a list contains element as part of BPMS test scenario?
Issue
We are writing a test scenario for a rule that adds a certain string ("TEST") to a list on a fact.Rule is firing, but we cannot seem to assert that the fact's list contains the string "TEST". When adding a new expected condition, we choose the fact and the list field. The only operators available to us are the 'equals' and 'not equals' for literal values.
How can we assert that the fact's list contains the string "TEST"?
Environment
- Red Hat JBoss BPM Suite
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.