@Test void cancelFlowWithoutDbUpdate() { underTest.cancelFlowWithoutDbUpdate(FLOW_ID); verify(runningFlows, times(1)).remove(FLOW_ID); }
public void cancelFlowWithoutDbUpdate(String flowId) { String flowChainId = runningFlows.getFlowChainId(flowId); if (flowChainId != null) { flowChains.removeFullFlowChain(flowChainId); } runningFlows.remove(flowId); }
InMemoryCleanup { public void cancelFlowWithoutDbUpdate(String flowId) { String flowChainId = runningFlows.getFlowChainId(flowId); if (flowChainId != null) { flowChains.removeFullFlowChain(flowChainId); } runningFlows.remove(flowId); } }
InMemoryCleanup { public void cancelFlowWithoutDbUpdate(String flowId) { String flowChainId = runningFlows.getFlowChainId(flowId); if (flowChainId != null) { flowChains.removeFullFlowChain(flowChainId); } runningFlows.remove(flowId); }  }
InMemoryCleanup { public void cancelFlowWithoutDbUpdate(String flowId) { String flowChainId = runningFlows.getFlowChainId(flowId); if (flowChainId != null) { flowChains.removeFullFlowChain(flowChainId); } runningFlows.remove(flowId); }  void cancelEveryFlowWithoutDbUpdate(); void cancelFlowWithoutDbUpdate(String flowId); }
InMemoryCleanup { public void cancelFlowWithoutDbUpdate(String flowId) { String flowChainId = runningFlows.getFlowChainId(flowId); if (flowChainId != null) { flowChains.removeFullFlowChain(flowChainId); } runningFlows.remove(flowId); }  void cancelEveryFlowWithoutDbUpdate(); void cancelFlowWithoutDbUpdate(String flowId);  }