### Question:
DecisionComponentsView implements DecisionComponents.View { @Override public void hideLoading() { hide(loading); } @Inject  DecisionComponentsView(final HTMLSelectElement drgElementFilter,
                                  final HTMLInputElement termFilter,
                                  final HTMLDivElement list,
                                  final HTMLDivElement emptyState,
                                  final HTMLDivElement loading,
                                  final HTMLDivElement componentsCounter,
                                  final TranslationService translationService); @PostConstruct void init(); @Override void init(final DecisionComponents presenter); @EventHandler("term-filter") void onTermFilterChange(final KeyUpEvent e); @Override void clear(); @Override void addListItem(final HTMLElement htmlElement); @Override void showEmptyState(); @Override void showLoading(); @Override void hideLoading(); @Override void disableFilterInputs(); @Override void enableFilterInputs(); @Override void setComponentsCounter(final Integer count);  }### Answer:
@Test public void testHideLoading() { loading.classList = mock(DOMTokenList.class); view.hideLoading(); verify(loading.classList).add(HIDDEN_CSS_CLASS); }