@Test public void testUpdateStatusSkippedWhenDeleteCompleted() { dbStack.setDBStackStatus(new DBStackStatus(dbStack, DetailedDBStackStatus.DELETE_COMPLETED, now)); underTest.updateStatus(1L, DetailedDBStackStatus.PROVISIONED, "because").get(); verify(dbStackService, never()).save(dbStack); verify(redbeamsInMemoryStateStoreUpdaterService, never()).update(anyLong(), any()); }
public Optional<DBStack> updateStatus(Long dbStackId, DetailedDBStackStatus detailedStatus) { return updateStatus(dbStackId, detailedStatus, ""); }
DBStackStatusUpdater { public Optional<DBStack> updateStatus(Long dbStackId, DetailedDBStackStatus detailedStatus) { return updateStatus(dbStackId, detailedStatus, ""); } }
DBStackStatusUpdater { public Optional<DBStack> updateStatus(Long dbStackId, DetailedDBStackStatus detailedStatus) { return updateStatus(dbStackId, detailedStatus, ""); }  }
DBStackStatusUpdater { public Optional<DBStack> updateStatus(Long dbStackId, DetailedDBStackStatus detailedStatus) { return updateStatus(dbStackId, detailedStatus, ""); }  Optional<DBStack> updateStatus(Long dbStackId, DetailedDBStackStatus detailedStatus); Optional<DBStack> updateStatus(Long dbStackId, DetailedDBStackStatus detailedStatus, String statusReason); }
DBStackStatusUpdater { public Optional<DBStack> updateStatus(Long dbStackId, DetailedDBStackStatus detailedStatus) { return updateStatus(dbStackId, detailedStatus, ""); }  Optional<DBStack> updateStatus(Long dbStackId, DetailedDBStackStatus detailedStatus); Optional<DBStack> updateStatus(Long dbStackId, DetailedDBStackStatus detailedStatus, String statusReason);  }