### Question:
CardsGridComponentView implements CardsGridComponent.View { @Override public void clearGrid() { cardGrid.innerHTML = ""; } @Inject  CardsGridComponentView(final HTMLDivElement cardGrid); @Override void init(final CardsGridComponent presenter); @Override void clearGrid(); @Override void appendCard(final HTMLElement cardElement);  }### Answer:
@Test public void testClearGrid() { cardGrid.innerHTML = "something"; view.clearGrid(); final String expected = ""; final String actual = cardGrid.innerHTML; assertEquals(expected, actual); }