@Test
public void withZeroOldWorkflowsNothingIsDeletedFromArchiveTables() {

  when(dao.getOldWorkflowIds(ARCHIVE, limit, BATCH_SIZE, emptySet())).thenReturn(emptyList);
  MaintenanceResults results = service.cleanupWorkflows(deleteArchiveConfig);
  assertEquals(0, results.deletedArchivedWorkflows);
  assertValidArchiveTablesAreChecked();
  verify(dao).getOldWorkflowIds(ARCHIVE, limit, BATCH_SIZE, emptySet());
  verifyNoMoreInteractions(dao, tableMetadataChecker);
}