@Test public void testSuperMarkDeliveredNeverCall() { final ArgumentCaptor<Request> captor = ArgumentCaptor.forClass(Request.class); loader.onForceLoad(); verify(requestQueue).add(captor.capture()); final Request capturedRequest = captor.getValue(); capturedRequest.markDelivered(); verify(request, never()).markDelivered(); assertNotEquals("Failed to deliver response", request.hasHadResponseDelivered(), captor.getValue().hasHadResponseDelivered()); }
@Override protected void onForceLoad() { super.onForceLoad(); startLoading(); }
RequestLoader extends Loader<D> { @Override protected void onForceLoad() { super.onForceLoad(); startLoading(); } }
RequestLoader extends Loader<D> { @Override protected void onForceLoad() { super.onForceLoad(); startLoading(); } RequestLoader(@NonNull final Context context, @NonNull final Request<D> request,
			@NonNull final RequestQueue queue); }
RequestLoader extends Loader<D> { @Override protected void onForceLoad() { super.onForceLoad(); startLoading(); } RequestLoader(@NonNull final Context context, @NonNull final Request<D> request,
			@NonNull final RequestQueue queue); void setUpdateThrottle(final long delayMS); @Override String toString(); }
RequestLoader extends Loader<D> { @Override protected void onForceLoad() { super.onForceLoad(); startLoading(); } RequestLoader(@NonNull final Context context, @NonNull final Request<D> request,
			@NonNull final RequestQueue queue); void setUpdateThrottle(final long delayMS); @Override String toString();  }