@Override
  public CompletableFuture<T> toCompletableFuture()
  {
    return _task.toCompletionStage().toCompletableFuture();
  }
@Test
  public void testToCompletableFuture_fail() throws Exception
  {
    CompletableFuture completableFuture = createTestFailedStage(EXCEPTION).toCompletableFuture();
    try {
      completableFuture.get();
    } catch (Exception e) {
      assertEquals(e.getCause(), EXCEPTION);
    }
  }