/** * Start a flow with the specified name. * * @param flowName * the name of the flow. * * @return the flow part to create the steps of the flow. */ public FlowPart flow(String flowName) { Flow useCaseFlow = getUseCase().newFlow(flowName); return new FlowPart(useCaseFlow, this); }
/** * Start the "happy day scenario" where all is fine and dandy. * * @return the flow part to create the steps of the basic flow. */ public FlowPart basicFlow() { Flow useCaseFlow = getUseCase().getBasicFlow(); return new FlowPart(useCaseFlow, this); }