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

    enforcer.ensureValid(mockTrigger);
  }
Tests for the {@link ValidationEnforcer} class.
jobdispatcher/src/test/java/com/firebase/jobdispatcher/ValidationEnforcerTest.java