public int getNumberOfStopRequestsReceived() {
      return numberOfStopRequestsReceived.get();
    }
A JobService that allows customizing the onStopJob result.
jobdispatcher/src/test/java/com/firebase/jobdispatcher/JobServiceTest.java