I am trying to write unit test for a thread that has a subflow that itself has another substream.
I am registering the first stream using FlowDefinitionResource getResource(FlowDefinitionResourceFactory resourceFactory) .
I then rewrite the definitions of the substream during the test execution in FlowDefinitionRegistry before moving on to them.
The transition to the first level subflow is normal. The result of the transition to the subflow of the current substream is NoSuchFlowDefinitionException .
The problem is that the sub-pound descriptions seem to be attached to the first test stream, and the sub-stream cannot be found in another sub-stream.
Is there a way to link the definition of a substream to another substream in tests that extend AbstractXmlFlowExecutionTests ?
java spring-webflow spring-webflow-2 unit-testing junit
tiurin
source share