activity.startWithTimeout(timer, 20000);
activity.startWithTimeout(timer, 2000);
    public void testParallelWorkflow() throws Exception {        // START SNIPPET: example        ExampleParallelBean parallelBean = new ExampleParallelBean();        ParallelActivity activity = ParallelActivity.newParallelMethodActivity(executor, parallelBean);        activity.startWithTimeout(timer, 20000);        // END SNIPPET: example        activity.join(10, TimeUnit.SECONDS);        parallelBean.assertCompleted();        assertStopped(activity);    }