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"?
- Red Hat JBoss BPM Suite
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.