1 7 package com.inversoft.verge.mvc.controller.actionflow; 8 9 10 import com.inversoft.verge.mvc.controller.actionflow.config.Node; 11 12 13 22 public class ActionFlowActionTestHelper extends ActionFlowAction { 23 24 private ActionFlowAction action; 25 26 27 30 public ActionFlowActionTestHelper(ActionFlowAction action) { 31 super(action.getHttpServletRequest(), action.getHttpServletResponse(), 32 action.getRequestContext()); 33 assert (action != null) : "action == null"; 34 35 this.action = action; 36 } 37 38 39 44 public void setAction(Object action) { 45 this.action.setAction(action); 46 } 47 48 55 public void setNode(Node node) { 56 action.setNode(node); 57 } 58 } 59 60 | Popular Tags |