### Question:
FrameworkScheduler extends Scheduler { @Override public void cancelAll() { JqLog.d("[FW Scheduler] cancel all"); getJobScheduler().cancelAll(); } FrameworkScheduler(Class<? extends FrameworkJobSchedulerService> serviceImpl); @SuppressLint("SwitchIntDef") @Override void request(SchedulerConstraint constraint); @Override void onFinished(SchedulerConstraint constraint, boolean reschedule); @Override void cancelAll();  }### Answer:
@Test public void cancelAll() { fwScheduler.cancelAll(); verify(mockJobScheduler).cancelAll(); }