### Question:
CardsGridComponentView implements CardsGridComponent.View { @Override public void appendCard(final HTMLElement cardElement) { cardGrid.appendChild(cardElement); } @Inject  CardsGridComponentView(final HTMLDivElement cardGrid); @Override void init(final CardsGridComponent presenter); @Override void clearGrid(); @Override void appendCard(final HTMLElement cardElement);  }### Answer:
@Test public void testAppendCard() { final HTMLElement cardElement = mock(HTMLElement.class); view.appendCard(cardElement); verify(cardGrid).appendChild(cardElement); }