### Question:
SelectionUtils { public static boolean isMultiRow(final GridData uiModel) { return uiModel.getSelectedCells() .stream() .map(GridData.SelectedCell::getRowIndex) .distinct() .collect(Collectors.toList()) .size() > 1; }  static boolean isMultiSelect(final GridData uiModel); static boolean isMultiRow(final GridData uiModel); static boolean isMultiColumn(final GridData uiModel); static boolean isMultiHeaderColumn(final GridData uiModel);  }### Answer:
@Test public void testIsMultiRowZeroSelections() { assertThat(SelectionUtils.isMultiRow(uiModel)).isFalse(); }
@Test public void testIsMultiRowSingleSelection() { uiModel.selectCell(0, 0); assertThat(SelectionUtils.isMultiRow(uiModel)).isFalse(); }
@Test public void testIsMultiRowMultipleSelections() { uiModel.selectCell(0, 0); uiModel.selectCell(1, 0); assertThat(SelectionUtils.isMultiRow(uiModel)).isTrue(); }