@Test
  public void testIsValid_jobSpec_valid() throws Exception {
    when(validator.validate(mockJobParameters)).thenReturn(null);

    assertTrue("isValid", enforcer.isValid(mockJobParameters));
  }
Tests for the {@link ValidationEnforcer} class.
jobdispatcher/src/test/java/com/firebase/jobdispatcher/ValidationEnforcerTest.java