该代码可以模拟组件来更改Calculator Web服务资源的状态。
This code simulates a component that changes the state of the Calculator WS-Resource.
随后,在模拟组件发挥作用时,您可以从配置中删除模拟器,然后重新运行测试。
Later, when the emulated component is functioning, you can rerun the test after removing the emulator from the configuration.
如果集成测试客户端未运行,则将不再模拟组件,并且其实现将运行,而不需要进一步更改。
When the integration test client is not running, then components are no longer emulated and their own implementations run without further changes.
应用推荐