You are here: DevOps > PegaUnit testing > PegaUnit test cases > Configuring attachment exists assertions

Configuring attachment exists assertions

For flows and case types, you can verify that the flow or case type has an attachment of type file or note (attached using the Attach Content shape) or email (attached using the Send Email shape) attached.

  1. Complete one of the following actions:

  2. Complete one of the following actions:

  3. From the Assertion type list, select Attachment exists.

  4. From the Attachment type list, select one of the following options, and then provide the value for each field:

  5. Repeat steps 2 through 5 to add additional attachment assertions.

    Optional: To add a comment, click the Add comment icon, enter a comment, and click OK.

  6. Click Save in the rule form.