### Question:
DMNCardComponentContentView extends BaseCardComponentContentView implements DMNCardComponent.ContentView { @Override public void setDataTypesCount(final Integer dataTypesCount) { this.dataTypesCount.textContent = dataTypesCount.toString(); } @Inject  DMNCardComponentContentView(final HTMLParagraphElement path,
                                       final @Named("span") HTMLElement dataTypesCount,
                                       final @Named("span") HTMLElement drgElementsCount,
                                       final HTMLButtonElement removeButton); @Override void setDataTypesCount(final Integer dataTypesCount); @Override void setDrgElementsCount(final Integer drgElementsCount);  }### Answer:
@Test public void testSetDataTypesCount() { dataTypesCount.textContent = "something"; view.setDataTypesCount(123); assertEquals("123", dataTypesCount.textContent); }