@Test public void testToCompletionStageCase() throws Exception { final Object actual = provider.toCompletionStage(Mono.just(1)).toCompletableFuture().get(); assertEquals(1, actual); }
@Override public CompletionStage<?> toCompletionStage(final Mono<?> asyncResponse) { return asyncResponse.toFuture(); }
MonoProvider implements AsyncResponseProvider<Mono<?>>, AsyncClientResponseProvider<Mono<?>> { @Override public CompletionStage<?> toCompletionStage(final Mono<?> asyncResponse) { return asyncResponse.toFuture(); } }
MonoProvider implements AsyncResponseProvider<Mono<?>>, AsyncClientResponseProvider<Mono<?>> { @Override public CompletionStage<?> toCompletionStage(final Mono<?> asyncResponse) { return asyncResponse.toFuture(); }  }
MonoProvider implements AsyncResponseProvider<Mono<?>>, AsyncClientResponseProvider<Mono<?>> { @Override public CompletionStage<?> toCompletionStage(final Mono<?> asyncResponse) { return asyncResponse.toFuture(); }  @Override CompletionStage<?> toCompletionStage(final Mono<?> asyncResponse); @Override Mono<?> fromCompletionStage(final CompletionStage<?> completionStage); @Override Mono<?> fromCompletionStage(final Supplier<CompletionStage<?>> completionStageSupplier); }
MonoProvider implements AsyncResponseProvider<Mono<?>>, AsyncClientResponseProvider<Mono<?>> { @Override public CompletionStage<?> toCompletionStage(final Mono<?> asyncResponse) { return asyncResponse.toFuture(); }  @Override CompletionStage<?> toCompletionStage(final Mono<?> asyncResponse); @Override Mono<?> fromCompletionStage(final CompletionStage<?> completionStage); @Override Mono<?> fromCompletionStage(final Supplier<CompletionStage<?>> completionStageSupplier);  }