GridHighlightHelper { void highlightCell(final int row, final int column) { final GridRenderer renderer = gridWidget.getRenderer(); if (renderer instanceof BaseGridRenderer) { ((BaseGridRenderer) renderer).highlightCell(column, row); } } GridHighlightHelper(final GridLienzoPanel gridPanel,
                               final GridWidget gridWidget); void highlight(final int row,
                          final int column); void clearSelections(); void clearHighlight(); GridHighlightHelper withPaddingX(final double paddingX); GridHighlightHelper withPaddingY(final double paddingY); GridHighlightHelper withPinnedGrid();  }
@Test public void testHighlightCell() { final BaseGridRenderer renderer = mock(BaseGridRenderer.class); when(gridWidget.getRenderer()).thenReturn(renderer); highlightHelper.highlightCell(row, column); verify(renderer).highlightCell(column, row); }