@Test public void applyLayout() { final LayoutHelper helper = new LayoutHelper(layoutService); helper.applyLayout(diagram, layoutExecutor); verify(rootNodeContent).setBounds(argumentCaptor.capture()); final Bounds bounds = argumentCaptor.getValue(); isCloseToZero(bounds.getLowerRight()); isCloseToZero(bounds.getUpperLeft()); }
public void applyLayout(final Diagram diagram, final LayoutExecutor layoutExecutor) { applyLayout(diagram, layoutExecutor, false); }
LayoutHelper { public void applyLayout(final Diagram diagram, final LayoutExecutor layoutExecutor) { applyLayout(diagram, layoutExecutor, false); } }
LayoutHelper { public void applyLayout(final Diagram diagram, final LayoutExecutor layoutExecutor) { applyLayout(diagram, layoutExecutor, false); } @Inject  LayoutHelper(final LayoutService layoutService); }
LayoutHelper { public void applyLayout(final Diagram diagram, final LayoutExecutor layoutExecutor) { applyLayout(diagram, layoutExecutor, false); } @Inject  LayoutHelper(final LayoutService layoutService); void applyLayout(final Diagram diagram, final LayoutExecutor layoutExecutor); void applyLayout(final Diagram diagram,
                            final LayoutExecutor layoutExecutor,
                            final boolean overrideCurrentLayout); LayoutService getLayoutService(); }
LayoutHelper { public void applyLayout(final Diagram diagram, final LayoutExecutor layoutExecutor) { applyLayout(diagram, layoutExecutor, false); } @Inject  LayoutHelper(final LayoutService layoutService); void applyLayout(final Diagram diagram, final LayoutExecutor layoutExecutor); void applyLayout(final Diagram diagram,
                            final LayoutExecutor layoutExecutor,
                            final boolean overrideCurrentLayout); LayoutService getLayoutService();  }