@Test
void shouldNotifyCompletionFutureOnSuccess() throws Exception
{

    CompletableFuture<Throwable> runCompletedFuture = new CompletableFuture<>();
    RunResponseHandler handler = newHandler( runCompletedFuture );
    assertFalse( runCompletedFuture.isDone() );
    handler.onSuccess( emptyMap() );
    assertTrue( runCompletedFuture.isDone() );
    assertNull( runCompletedFuture.get() );
}