private static String dump(JobService service) throws Exception {
    StringWriter sw = new StringWriter();
    service.dumpImpl(new PrintWriter(sw));
    return sw.toString();
  }
Tests for the {@link JobService} class.
jobdispatcher/src/test/java/com/firebase/jobdispatcher/JobServiceTest.java