### Question:
DecisionComponents { void applyDrgElementFilterFilter(final String value) { getFilter().setDrgElement(value); applyFilter(); } DecisionComponents(); @Inject  DecisionComponents(final View view,
                              final DMNIncludeModelsClient client,
                              final ManagedInstance<DecisionComponentsItem> itemManagedInstance,
                              final DecisionComponentFilter filter,
                              final DMNDiagramsSession dmnDiagramsSession,
                              final DMNGraphUtils dmnGraphUtils); @PostConstruct void init(); View getView(); void refresh(); void removeAllItems();  }### Answer:
@Test public void testApplyDrgElementFilterFilter() { final String value = "value"; doNothing().when(decisionComponents).applyFilter(); decisionComponents.applyDrgElementFilterFilter(value); verify(filter).setDrgElement(value); verify(decisionComponents).applyFilter(); }