@Test
public void handlePotentiallyStuckCallsListeners() {

  Duration processingTime = standardHours(1);
  executor.handlePotentiallyStuck(processingTime);
  verify(listener1).handlePotentiallyStuck(null, processingTime);
  verify(listener2).handlePotentiallyStuck(null, processingTime);
}