AutocompletePendingResult extends PendingResult<AutocompletePredictionBuffer> { @Override public boolean isCanceled() { throw new RuntimeException("Not implemented yet"); } AutocompletePendingResult(Pelias pelias, String query, LatLngBounds bounds,
      AutocompleteFilter filter); @NonNull @Override AutocompletePredictionBuffer await(); @NonNull @Override AutocompletePredictionBuffer await(long time, @NonNull TimeUnit timeUnit); @Override void cancel(); @Override boolean isCanceled(); @Override void setResultCallback(
      @NonNull final ResultCallback<? super AutocompletePredictionBuffer> callback); @Override void setResultCallback(
      @NonNull ResultCallback<? super AutocompletePredictionBuffer> callback, long time,
      @NonNull TimeUnit timeUnit);  }
@Test(expected = RuntimeException.class) public void isCanceled_shouldThrowException() { result.isCanceled(); }