@Test public void performSubmitWithNewRequestQueuesHunter() { Action action = mockAction(URI_KEY_1, URI_1); dispatcher.performSubmit(action); assertThat(dispatcher.hunterMap).hasSize(1); verify(service).submit(any(BitmapHunter.class)); }
void performSubmit(Action action) { performSubmit(action, true); }
Dispatcher { void performSubmit(Action action) { performSubmit(action, true); } }
Dispatcher { void performSubmit(Action action) { performSubmit(action, true); } Dispatcher(Context context, ExecutorService service, Handler mainThreadHandler,
      Downloader downloader, Cache cache, Stats stats); }
Dispatcher { void performSubmit(Action action) { performSubmit(action, true); } Dispatcher(Context context, ExecutorService service, Handler mainThreadHandler,
      Downloader downloader, Cache cache, Stats stats);  }
Dispatcher { void performSubmit(Action action) { performSubmit(action, true); } Dispatcher(Context context, ExecutorService service, Handler mainThreadHandler,
      Downloader downloader, Cache cache, Stats stats);   }