Spring Framework Integration
Spring-Based Testing
When integrating with Spring, business processes can be tested very easily (in scope 2, see [Testing Scopes]) using the standard ASEE Flow testing…
When integrating with Spring, business processes can be tested very easily (in scope 2, see Testing Scopes) using the standard ASEE Flow testing facilities. The following example shows how a business process is tested in a typical Spring-based unit test:
Note that for this to work, you need to define a ProcessEngineRule bean in the Spring configuration (which is injected by auto-wiring in the example above).