@Test
  public void testMustSchedule_success() throws Exception {
    when(driver.schedule(null)).thenReturn(FirebaseJobDispatcher.SCHEDULE_RESULT_SUCCESS);

    /* assert no exception is thrown */
    dispatcher.mustSchedule(null);
  }
Tests for the {@link FirebaseJobDispatcher} class.
jobdispatcher/src/test/java/com/firebase/jobdispatcher/FirebaseJobDispatcherTest.java