### Question:
InvocationGridData extends DelegatingGridData { @Override public void moveRowTo(final int index, final GridRow row) { moveRowsTo(index, Collections.singletonList(row)); } InvocationGridData(final DMNGridData delegate,
                              final SessionManager sessionManager,
                              final SessionCommandManager<AbstractCanvasHandler> sessionCommandManager,
                              final Supplier<Optional<Invocation>> expression,
                              final Command canvasOperation); @Override void moveRowTo(final int index,
                          final GridRow row); @Override void moveRowsTo(final int index,
                           final List<GridRow> rows);  }### Answer:
@Test public void testMoveRowTo() { uiModel.moveRowTo(0, gridRow); verify(sessionCommandManager).execute(eq(canvasHandler), any(MoveRowsCommand.class)); }