@Test public void await_delay_shouldReturnSuccess() { assertThat(result.await(1000, TimeUnit.MILLISECONDS).getStatus().getStatusCode()).isEqualTo( Status.SUCCESS); }
@NonNull @Override public Status await() { return generateStatus(); }
SimplePendingResult extends PendingResult<Status> { @NonNull @Override public Status await() { return generateStatus(); } }
SimplePendingResult extends PendingResult<Status> { @NonNull @Override public Status await() { return generateStatus(); } SimplePendingResult(boolean hasResult); }
SimplePendingResult extends PendingResult<Status> { @NonNull @Override public Status await() { return generateStatus(); } SimplePendingResult(boolean hasResult); @NonNull @Override Status await(); @NonNull @Override Status await(long time, @NonNull TimeUnit timeUnit); @Override void cancel(); @Override boolean isCanceled(); @Override void setResultCallback(@NonNull ResultCallback callback); @Override void setResultCallback(@NonNull ResultCallback callback, long time,
      @NonNull TimeUnit timeUnit); }
SimplePendingResult extends PendingResult<Status> { @NonNull @Override public Status await() { return generateStatus(); } SimplePendingResult(boolean hasResult); @NonNull @Override Status await(); @NonNull @Override Status await(long time, @NonNull TimeUnit timeUnit); @Override void cancel(); @Override boolean isCanceled(); @Override void setResultCallback(@NonNull ResultCallback callback); @Override void setResultCallback(@NonNull ResultCallback callback, long time,
      @NonNull TimeUnit timeUnit);  }