@Test
  public void executionWindowTrigger_withNetworkConstraint_shouldNotRunInAirplaneMode()
      throws Exception {
    verifyJobDoesntRunInAirplaneMode(
        dispatcher
            .newJobBuilder()
            .setService(TestJobService.class)
            .setTrigger(Trigger.executionWindow(0, 15))
            .addConstraint(Constraint.ON_ANY_NETWORK)
            .setTag("basic-execution-window-job")
            .build());
  }
How long we're willing to wait for a job to run after it becomes eligible.
jobdispatcher/src/androidTest/java/com/firebase/jobdispatcher/AirplaneModeAndroidTest.java