@Test public void testFireCanvasElementUpdated() { final AbstractCanvasHandler canvasHandler = mock(AbstractCanvasHandler.class); final Node node = mock(Node.class); nodeTextSetter.fireCanvasElementUpdated(canvasHandler, node); verify(canvasElementUpdatedEvent).fire(canvasElementUpdatedEventArgumentCaptor.capture()); final CanvasElementUpdatedEvent arg = canvasElementUpdatedEventArgumentCaptor.getValue(); assertEquals(canvasHandler, arg.getCanvasHandler()); assertEquals(node, arg.getElement()); }
void fireCanvasElementUpdated(final AbstractCanvasHandler canvasHandler, final Node node) { canvasElementUpdatedEvent.fire(new CanvasElementUpdatedEvent(canvasHandler, node)); }
NodeTextSetter { void fireCanvasElementUpdated(final AbstractCanvasHandler canvasHandler, final Node node) { canvasElementUpdatedEvent.fire(new CanvasElementUpdatedEvent(canvasHandler, node)); } }
NodeTextSetter { void fireCanvasElementUpdated(final AbstractCanvasHandler canvasHandler, final Node node) { canvasElementUpdatedEvent.fire(new CanvasElementUpdatedEvent(canvasHandler, node)); } @Inject  NodeTextSetter(final TextPropertyProviderFactory textPropertyProviderFactory,
                          final Event<CanvasElementUpdatedEvent> canvasElementUpdatedEvent,
                          final DMNGraphUtils dmnGraphUtils); }
NodeTextSetter { void fireCanvasElementUpdated(final AbstractCanvasHandler canvasHandler, final Node node) { canvasElementUpdatedEvent.fire(new CanvasElementUpdatedEvent(canvasHandler, node)); } @Inject  NodeTextSetter(final TextPropertyProviderFactory textPropertyProviderFactory,
                          final Event<CanvasElementUpdatedEvent> canvasElementUpdatedEvent,
                          final DMNGraphUtils dmnGraphUtils); TextPropertyProviderFactory getTextPropertyProviderFactory(); void setText(final String newText,
                        final Node node); }
NodeTextSetter { void fireCanvasElementUpdated(final AbstractCanvasHandler canvasHandler, final Node node) { canvasElementUpdatedEvent.fire(new CanvasElementUpdatedEvent(canvasHandler, node)); } @Inject  NodeTextSetter(final TextPropertyProviderFactory textPropertyProviderFactory,
                          final Event<CanvasElementUpdatedEvent> canvasElementUpdatedEvent,
                          final DMNGraphUtils dmnGraphUtils); TextPropertyProviderFactory getTextPropertyProviderFactory(); void setText(final String newText,
                        final Node node);  }