### Question:
DMNDataTypesSubIndex implements DMNSubIndex { @Override public void onNoResultsFound() { dataTypeShortcuts.reset(); } @Inject  DMNDataTypesSubIndex(final DataTypeList dataTypeList,
                                final DataTypeShortcuts dataTypeShortcuts,
                                final DataTypeStore dataTypeStore); @Override List<DMNSearchableElement> getSearchableElements(); @Override void onNoResultsFound();  }### Answer:
@Test public void testOnNoResultsFound() { index.onNoResultsFound(); verify(dataTypeShortcuts).reset(); }