@Override
  public Statement apply(final Statement base, FrameworkMethod method, Object target) {
    Callable<WorkflowTestBase> accessor =
        new Callable<WorkflowTestBase>() {

          @Override
          public WorkflowTestBase call() throws Exception {
            return WorkflowTestBase.this;
          }
        };
    workflowTestStatement =
        new WorkflowTestStatement(
            accessor, base, testTimeoutActualTimeMilliseconds, expectedException);
    workflowTestStatement.setFlowTestRunner(flowTestRunner);
    return workflowTestStatement;
  }
 public void setFlowTestRunner(boolean flowTestRunner) {
   this.flowTestRunner = flowTestRunner;
   if (workflowTestStatement != null) {
     workflowTestStatement.setFlowTestRunner(flowTestRunner);
   }
 }