@Test public void testToString() { final Request<String> request = mock(GsonRequest.class); final RequestQueue requestQueue = mock(RequestQueue.class); final Context context = mock(Context.class); final RequestLoader<String> loader = new RequestLoader<>(context, request, requestQueue); final String defaultToString = loader.getClass().getName() + '@' + Integer.toHexString(loader.hashCode()); assertThat(loader.toString(), not(equalTo(defaultToString))); assertNotNull(loader.toString()); }
@Override public String toString() { return "RequestLoader for " + request + " with updateThrottle = " + updateThrottle; }
RequestLoader extends Loader<D> { @Override public String toString() { return "RequestLoader for " + request + " with updateThrottle = " + updateThrottle; } }
RequestLoader extends Loader<D> { @Override public String toString() { return "RequestLoader for " + request + " with updateThrottle = " + updateThrottle; } RequestLoader(@NonNull final Context context, @NonNull final Request<D> request,
			@NonNull final RequestQueue queue); }
RequestLoader extends Loader<D> { @Override public String toString() { return "RequestLoader for " + request + " with updateThrottle = " + updateThrottle; } 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 public String toString() { return "RequestLoader for " + request + " with updateThrottle = " + updateThrottle; } RequestLoader(@NonNull final Context context, @NonNull final Request<D> request,
			@NonNull final RequestQueue queue); void setUpdateThrottle(final long delayMS); @Override String toString();  }