ReconcileService extends AbstractScheduledService { @Override protected void runOneIteration() { lock.lock(); try { explicitReconcile(); implicitReconcile(); } finally { lock.unlock(); } }  void explicitReconcile(); void implicitReconcile();  }
@Test public void assertRunOneIteration() { reconcileService.runOneIteration(); verify(schedulerDriver).reconcileTasks(Collections.emptyList()); }