Class MockRequestControlContext

java.lang.Object
org.springframework.webflow.test.MockRequestContext
org.springframework.webflow.test.MockRequestControlContext
All Implemented Interfaces:
RequestControlContext, RequestContext

public class MockRequestControlContext extends MockRequestContext implements RequestControlContext
Mock implementation of the RequestControlContext interface to facilitate standalone Flow and State unit tests.
Author:
Keith Donald
See Also:
  • Constructor Details

    • MockRequestControlContext

      public MockRequestControlContext()
      Creates a new mock request control context.
    • MockRequestControlContext

      public MockRequestControlContext(Flow flow)
      Creates a new mock request control context for controlling a mock execution of the provided flow definition.
      Parameters:
      flow - the flow definition
    • MockRequestControlContext

      public MockRequestControlContext(FlowExecutionContext flowExecutionContext)
      Creates a new mock request control context for controlling a flow execution.
      Parameters:
      flowExecutionContext - the flow execution context
  • Method Details