### Question:
DecisionComponentsItem { public DRGElement getDrgElement() { return getDecisionComponent().getDrgElement(); } @Inject  DecisionComponentsItem(final View view); @PostConstruct void init(); View getView(); void setDecisionComponent(final DecisionComponent decisionComponent); void show(); void hide(); DRGElement getDrgElement();  }### Answer:
@Test public void testGetDrgElement() { final DecisionComponent decisionComponent = mock(DecisionComponent.class); final DRGElement expectedDrgElement = null; when(decisionComponent.getDrgElement()).thenReturn(expectedDrgElement); doReturn(decisionComponent).when(item).getDecisionComponent(); final DRGElement actualDrgElement = item.getDrgElement(); assertEquals(expectedDrgElement, actualDrgElement); }