assertアクティビティの実行の概要
BPELプロセスでアクティビティが実行される回数を指定して検証できます。次の例では、invoke
、elementAssign
、invokeCR
およびreplyOutput
の各アクティビティをそれぞれ1回実行するよう、BPELプロセスに対して指示しています。
<bpelTest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.oracle.com/sca/2006/test" componentName="LoanBroker"> <assertActivityExecuted activityName="invoke" executionCount="1"/> <assertActivityExecuted activityName="elementAssign" executionCount="1"/> <assertActivityExecuted activityName="invokeCR" executionCount="1"/> <assertActivityExecuted activityName="replyOutput" executionCount="1"/> </bpelTest>
assertアクティビティ実行の作成の詳細は、「アクティビティの実行回数の指定方法」を参照してください。