For flows and case types, you can verify that an assignment is routed to the appropriate work queue or operator with the assigned to assertion.
Complete the following steps:
Open the PegaUnit test case if it is not already open.
Complete one of the following actions:
To add a new assertion, Add expected result at the bottom of the page.
Modify an existing assertion.
From the Assertion type list, select Assigned to.
From the Assigned to list, select Operator or Work queue.
Select a comparator from the Comparator list.
In the Value field, press the Down Arrow key and select the operator ID or work queue.
Optional: To add a comment, click the Add comment icon, enter a comment, and click OK.
Click Save in the rule form.