GuidedDecisionTableSearchableElement implements Searchable { @Override public Command onFound() { return () -> highlightHelper.highlight(getRow(), getColumn(), getWidget(), getModeller()); }  @Override boolean matches(final String text); @Override Command onFound(); @Override boolean equals(final Object o); @Override int hashCode(); void setValue(final String value); void setRow(final int row); void setColumn(final int column); void setModeller(final GuidedDecisionTableModellerView.Presenter modeller); String getValue(); int getRow(); int getColumn(); GuidedDecisionTableGridHighlightHelper getHighlightHelper(); GuidedDecisionTableModellerView.Presenter getModeller(); GuidedDecisionTable52 getModel(); void setModel(final GuidedDecisionTable52 model); void setWidget(final GuidedDecisionTableView widget); GuidedDecisionTableView getWidget();  }
@Test public void testOnFound() { final GuidedDecisionTableView widget = mock(GuidedDecisionTableView.class); final int row = 2; final int column = 4; element.setModeller(modeller); element.setHighlightHelper(highlightHelper); element.setRow(row); element.setColumn(column); element.setWidget(widget); element.onFound().execute(); verify(highlightHelper).highlight(row, column, widget, modeller); }