@Test public void performAirplaneModeChange() { assertThat(dispatcher.airplaneMode).isFalse(); dispatcher.performAirplaneModeChange(true); assertThat(dispatcher.airplaneMode).isTrue(); dispatcher.performAirplaneModeChange(false); assertThat(dispatcher.airplaneMode).isFalse(); }
void performAirplaneModeChange(boolean airplaneMode) { this.airplaneMode = airplaneMode; }
Dispatcher { void performAirplaneModeChange(boolean airplaneMode) { this.airplaneMode = airplaneMode; } }
Dispatcher { void performAirplaneModeChange(boolean airplaneMode) { this.airplaneMode = airplaneMode; } Dispatcher(Context context, ExecutorService service, Handler mainThreadHandler,
      Downloader downloader, Cache cache, Stats stats); }
Dispatcher { void performAirplaneModeChange(boolean airplaneMode) { this.airplaneMode = airplaneMode; } Dispatcher(Context context, ExecutorService service, Handler mainThreadHandler,
      Downloader downloader, Cache cache, Stats stats);  }
Dispatcher { void performAirplaneModeChange(boolean airplaneMode) { this.airplaneMode = airplaneMode; } Dispatcher(Context context, ExecutorService service, Handler mainThreadHandler,
      Downloader downloader, Cache cache, Stats stats);   }