Checking for an Exception
The following test validates that when invoking the operation throwException on the object referenced as "keepSo", the exception "testprovtest::Exception" is thrown.
<test name="test_invoke_exception_1"> <flow>flow3</flow> <description>Test process : action raising a predicted exception</description> <action> <invoke object="keepSo" operation="throwException"> <exception>testprovtest::Exception</exception> </invoke> </action> </test>q
Copyright © Cloud Software Group, Inc. All rights reserved.