### Question:
KeyValueBackupJob extends JobService { @VisibleForTesting public static boolean isScheduled(int userId) { synchronized (KeyValueBackupJob.class) { return sScheduledForUserId.get(userId); } }  static void schedule(int userId, Context ctx, BackupManagerConstants constants); static void schedule(int userId, Context ctx, long delay,
            BackupManagerConstants constants); static void cancel(int userId, Context ctx); static long nextScheduled(int userId); @VisibleForTesting static boolean isScheduled(int userId); @Override boolean onStartJob(JobParameters params); @Override boolean onStopJob(JobParameters params); @VisibleForTesting
    static final int MIN_JOB_ID; @VisibleForTesting
    static final int MAX_JOB_ID; }### Answer:
@Test public void testIsScheduled_beforeScheduling_returnsFalse() { assertThat(KeyValueBackupJob.isScheduled(mUserOneId)).isFalse(); assertThat(KeyValueBackupJob.isScheduled(mUserTwoId)).isFalse(); }