I'm curieus if it is possible to use a Raise error assertion within Encapsulated Assertions. I've found out that a Policy Fragment containing a Raise error assertion behaves different then an Encapsulated Assertion based on this Policy Fragment.
In other words. Within the Policy Fragment the Raise Error assertion is executed while this Raise error assertion is skipped within the Encapsulated Assertion.
I cannot find any documentation about this behaviour in the docops and hope somebody recognises this behaviour.