@Override
    public boolean onStartJob(@NonNull JobParameters job) {
      numberOfStartRequestsReceived.incrementAndGet();
      return true;
    }
A JobService that allows customizing the onStopJob result.
jobdispatcher/src/test/java/com/firebase/jobdispatcher/JobServiceTest.java