You are here: DevOps > PegaUnit testing > PegaUnit test cases > Result count assertions

Result count assertions

You can configure assertions to compare the number of items returned in a page list, page group, value list, or value group on a rule to the result you expect to see on the clipboard.

For example, you can create an assertion that verifies that the number of returned results for the number of employees is greater than X number of employees, less than Y number of employees, or equal to Z number of employees.