@Override
  public CompletableFuture<T> toCompletableFuture()
  {
    return _task.toCompletionStage().toCompletableFuture();
  }
@Test
  public void testCreateStageFromTask() throws Exception
  {
    String testResult = "testCreateStageFromTask";
    Task<String> valueTask = Task.value(testResult);
    _engine.run(valueTask);
    ParSeqBasedCompletionStage<String> stageFromTask = _parSeqBasedCompletionStageFactory.buildStageFromTask(valueTask);
    Assert.assertEquals(testResult, stageFromTask.toCompletableFuture().get());
  }