### Question:
FrameworkScheduler extends Scheduler { @VisibleForTesting ComponentName getComponentName() { if (componentName == null) { componentName = new ComponentName(getApplicationContext().getPackageName(), serviceImpl.getCanonicalName()); } return componentName; } 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 componentName() { assertThat(fwScheduler.getComponentName(), equalTo(new ComponentName(mockContext, MockFwService.class))); }