public static <T> ListenableFuture<T> submit(final RequestBuilder<T> requestBuilder) {
    return transformFromTargetAndResult(submitInternal(requestBuilder));
  }
@Test
  public void testErrorLoad() {
    // Load some unsupported model.
    final ListenableFuture<Bitmap> future =
        GlideFutures.submit(Glide.with(app).asBitmap().load(app));
    // Make sure that it throws.
    assertThrows(
        ExecutionException.class,
        new ThrowingRunnable() {
          @Override
          public void run() throws Throwable {
            Futures.getDone(future);
          }
        });
  }