如何在spring webflow 2中的<on-render>标记中编写junit以进行评估?</on-render>

时间:2013-01-19 15:22:46

标签: java spring unit-testing spring-webflow spring-webflow-2

如何编写以下网络流的junit:

<view-state id="Mydetails" view="checkdetails" model="customerBean">
    <on-entry>
        <set name="flowScope.site" value="Service.getServiceAddress()" />
    </on-entry>
    <on-render>
        <evaluate expression="customer.getdetails(custId)"
            result="flowScope.Details" />
    </on-render>
</view-state>

对于tag中的评估表达式,是否可以对此进行单元测试?

0 个答案:

没有答案