ProcessTester server = new ProcessTester();
MockControl ctrl = MockClassControl.createControl(Sequential.class);
Sequential afterwards = (Sequential)ctrl.getMock();
afterwards.execute();
XhJavaBgTask task = new XhJavaBgTask();
task.setProject(project);
task.setClassname(ProcessTester.class.getName());
task.setClasspath(new Path(project, getClassPath()));