### Question:
DMNGridSubIndex implements DMNSubIndex { @Override public void onSearchClosed() { dmnGridHelper.focusGridPanel(); dmnGridHelper.clearCellHighlights(); } @Inject  DMNGridSubIndex(final DMNGridHelper dmnGridHelper); @Override List<DMNSearchableElement> getSearchableElements(); @Override void onSearchClosed(); @Override void onNoResultsFound();  }### Answer:
@Test public void testOnSearchClosed() { index.onSearchClosed(); verify(dmnGridHelper).focusGridPanel(); }