@Test
  public void testSchedule_unavailable() throws Exception {
    setDriverAvailability(false);
    assertEquals(
        FirebaseJobDispatcher.SCHEDULE_RESULT_NO_DRIVER_AVAILABLE, dispatcher.schedule(null));
    verify(driver, never()).schedule(null);
  }
Tests for the {@link FirebaseJobDispatcher} class.
jobdispatcher/src/test/java/com/firebase/jobdispatcher/FirebaseJobDispatcherTest.java