@Test
  public void testAreConstraintsSatisfied_anyNetworkRequired_unsatisfied_nullNetworkInfo() {
    JobInvocation job =
        jobBuilder.setConstraints(Constraint.uncompact(Constraint.ON_ANY_NETWORK)).build();
    shadowConnectivityManager.setActiveNetworkInfo(null);

    assertThat(constraintChecker.areConstraintsSatisfied(job)).isFalse();
  }
Tests for the {@link com.firebase.jobdispatcher.ConstraintChecker} class.
jobdispatcher/src/test/java/com/firebase/jobdispatcher/ConstraintCheckerTest.java