public void setUp() throws Exception {
   super.setUp();
   _context = new WorkflowContextBuilder().build();
   _node = new AbstractWorkflowNodeImp();
   _node.setApplicationContext(_context);
   _node.setName("TestNode");
 }
  @SuppressWarnings("unused")
  public void setUp() throws Exception {

    super.setUp();

    _context = new WorkflowContextBuilder().build();

    _actor =
        new JavaActorBuilder()
            .name("TestActor")
            .context(_context)
            .bean(
                new Object() {
                  public boolean throwExceptionOnStep = false;
                  public boolean actorStepped = false;

                  public void step() throws RestFlowException {
                    actorStepped = true;
                    if (throwExceptionOnStep) {
                      throw new RestFlowException("Error stepping actor");
                    }
                  }
                })
            .build();

    _actor.elaborate();
    _actor.configure();
    _actor.initialize();
  }
  public void setUp() throws Exception {

    super.setUp();

    _context = new WorkflowContextBuilder().build();

    MultiplyBean.throwExceptionInConstructor = false;
    MultiplyBean.throwExceptionInSetter = false;
    MultiplyBean.throwExceptionInStep = false;
    MultiplyBean.throwExceptionInGetter = false;
    MultiplyBean.throwExceptionInInitialize = false;
    MultiplyBean.throwExceptionInStep = false;
    MultiplyBean.throwExceptionInWrapup = false;
    MultiplyBean.throwExceptionInClone = false;
    MultiplyBean.throwExceptionInStatusSetter = false;
    MultiplyBean.clearAccumulatorInInitialize = false;
    MultiplyBean.setCountToNullInStep = false;
  }