Assert
Asserts that the underlying condition is true otherwise throws
an AssertionException and can attach your own personalized
message to this assertion otherwise it will generate a simple
explanation based on the conditions you were trying to validate.
Children Tags
Optional Attributes
message
the message to be displayed when this assertion is not
satisified.
Usage Examples
Example #1
<assert>
<eq op1="0" op2="0" />
</assert>
Example #2
<assert message="Something is seriously wrong!">
<neq op1="${a}" op2="${a}" />
</assert>