@Test public void flush() { tested.container = null; tested.flush(clientSession, ELEMENT_UUID); tested.container = formsContainer; tested.flush(clientSession, ELEMENT_UUID); verify(formsContainer, times(1)).flush(GRAPH_UUID, ELEMENT_UUID); }
public void flush(ClientSession session, String elementUUID) { if (container != null) { container.flush(session.getCanvasHandler().getDiagram().getGraph().getUUID(), elementUUID); } }
FormsFlushManager { public void flush(ClientSession session, String elementUUID) { if (container != null) { container.flush(session.getCanvasHandler().getDiagram().getGraph().getUUID(), elementUUID); } } }
FormsFlushManager { public void flush(ClientSession session, String elementUUID) { if (container != null) { container.flush(session.getCanvasHandler().getDiagram().getGraph().getUUID(), elementUUID); } }  }
FormsFlushManager { public void flush(ClientSession session, String elementUUID) { if (container != null) { container.flush(session.getCanvasHandler().getDiagram().getGraph().getUUID(), elementUUID); } }  void flush(ClientSession session,
                      String elementUUID); @PreDestroy void destroy(); }
FormsFlushManager { public void flush(ClientSession session, String elementUUID) { if (container != null) { container.flush(session.getCanvasHandler().getDiagram().getGraph().getUUID(), elementUUID); } }  void flush(ClientSession session,
                      String elementUUID); @PreDestroy void destroy();  }