{
TaskExecutor taskExecutor = new TaskExecutor(4);
taskExecutor.start();
try {
TaskHandle taskHandle = taskExecutor.addTask(new TaskId("test", "test", "test"));
final Phaser beginPhase = new Phaser();
beginPhase.register();
final Phaser verificationComplete = new Phaser();
verificationComplete.register();