@Override
  public CompletableFuture<T> toCompletableFuture()
  {
    return _task.toCompletionStage().toCompletableFuture();
  }
@Test
  public void testCreateStageFromThrowable() throws Exception
  {
    ParSeqBasedCompletionStage<String> stageFromValue =
        _parSeqBasedCompletionStageFactory.buildStageFromThrowable(EXCEPTION);
    try {
      stageFromValue.toCompletableFuture().get();
      fail("Should fail");
    } catch (Exception e) {
      Assert.assertEquals(EXCEPTION, e.getCause());
    }
  }