### Question:
DMNGridHelper { GridHighlightHelper highlightHelper(final GridWidget gridWidget) { return new GridHighlightHelper(getGridPanel(), gridWidget); } @Inject  DMNGridHelper(final SessionManager sessionManager); void highlightCell(final int row,
                              final int column,
                              final GridWidget gridWidget); void focusGridPanel(); void clearSelections(); void clearCellHighlights(); Set<GridWidget> getGridWidgets();  }### Answer:
@Test public void testHighlightHelper() { final int row = 1; final int column = 1; final GridColumn<?> headerColumn = mock(GridColumn.class); final GridColumn<?> currentColumn = mock(GridColumn.class); final GridRow headerRow = mock(GridRow.class); final GridRow currentRow = mock(GridRow.class); final double headerColumnWidth = 2d; final double currentColumnWidth = 4d; final double headerRowWidth = 8d; final double currentRowWidth = 16d; doReturn(highlightHelper).when(helper).highlightHelper(gridWidget1); when(gridWidget1.getModel()).thenReturn(model); when(model.getColumns()).thenReturn(asList(headerColumn, currentColumn)); when(model.getRows()).thenReturn(asList(headerRow, currentRow)); when(headerColumn.getWidth()).thenReturn(headerColumnWidth); when(currentColumn.getWidth()).thenReturn(currentColumnWidth); when(headerRow.getHeight()).thenReturn(headerRowWidth); when(currentRow.getHeight()).thenReturn(currentRowWidth); when(highlightHelper.withPaddingX(headerColumnWidth + currentColumnWidth)).thenReturn(highlightHelper); when(highlightHelper.withPaddingY(headerRowWidth + currentRowWidth)).thenReturn(highlightHelper); when(highlightHelper.withPinnedGrid()).thenReturn(highlightHelper); helper.highlightCell(row, column, gridWidget1); verify(highlightHelper).highlight(row, column); }