@Test
public void testGetSearchableElements() {

    final GuidedDecisionTable52 model = mock(GuidedDecisionTable52.class);
    final Supplier<GuidedDecisionTable52> modelSupplier = () -> model;
    final List<DTCellValue52> row1 = asList(new DTCellValue52("cell 1"), new DTCellValue52("cell 2"));
    final List<DTCellValue52> row2 = asList(new DTCellValue52("cell 3"), new DTCellValue52("cell 4"));
    final List<List<DTCellValue52>> data = asList(row1, row2);
    doReturn(modelSupplier).when(presenter).getContentSupplier();
    when(model.getData()).thenReturn(data);
    final List<GuidedDecisionTableSearchableElement> elements = presenter.getSearchableElements();
    assertEquals(4, elements.size());
    assertEquals("cell 1", elements.get(0).getValue());
    assertEquals("cell 2", elements.get(1).getValue());
    assertEquals("cell 3", elements.get(2).getValue());
    assertEquals("cell 4", elements.get(3).getValue());
    assertEquals(0, elements.get(0).getRow());
    assertEquals(0, elements.get(1).getRow());
    assertEquals(1, elements.get(2).getRow());
    assertEquals(1, elements.get(3).getRow());
    assertEquals(0, elements.get(0).getColumn());
    assertEquals(1, elements.get(1).getColumn());
    assertEquals(0, elements.get(2).getColumn());
    assertEquals(1, elements.get(3).getColumn());
    assertEquals(modeller, elements.get(0).getModeller());
    assertEquals(modeller, elements.get(1).getModeller());
    assertEquals(modeller, elements.get(2).getModeller());
    assertEquals(modeller, elements.get(3).getModeller());
}