private void verifyStateNotFirstLap(TimerEvent timerEvent, State expectedState) {
    Assert.assertEquals(expectedState, timerEvent.getState());
    Assert.assertTrue(timerEvent.getDuration().compareTo(Duration.ZERO) > 0);
    Assert.assertTrue(timerEvent.getElapsed().compareTo(timerEvent.getDuration()) > 0);
  }
Verifies that the {@code timerEvent}'s state is {@code expectedState} and that this is not the
first lap for the timer.

@param timerEvent the {@link TimerEvent} to verify
@param expectedState the expected {@link State}
jib-core/src/test/java/com/google/cloud/tools/jib/builder/TimerEventDispatcherTest.java