You can configure a case status assertion on a flow or case type to verify the status of the case.
Complete the following steps:
Complete one of the following actions:
Open the PegaUnit test case if it is not already open, and then click the Definition tab.
If the PegaUnit test case is open and you have not saved the case, click Done on the Definition tab.
Complete one of the following actions:
To add a new assertion, click Add expected result at the bottom of the page.
Modify an existing assertion.
From the Assertion type list, select Case status.
Select the comparator from the Comparator list.
In the Value field, press the Down Arrow key and select the case status.
Optional: To add a comment, click the Add comment icon, enter a comment, and click OK.
Click Save in the rule form.