### Question:
CardFrameComponentView implements CardFrameComponent.View { @Override public void setContent(final HTMLElement content) { this.content.appendChild(content); } @Inject  CardFrameComponentView(final HTMLDivElement view,
                                  final @Named("span") HTMLElement icon,
                                  final @Named("h2") HTMLHeadingElement titleText,
                                  final HTMLInputElement titleInput,
                                  final HTMLButtonElement inputCloseButton,
                                  final HTMLDivElement editMode,
                                  final HTMLButtonElement okButton,
                                  final HTMLButtonElement closeButton,
                                  final HTMLDivElement content); @Override void init(final CardFrameComponent presenter); @EventHandler("title-text") void onTitleTextClick(final ClickEvent e); @EventHandler("ok-button") void onOkButtonClick(final ClickEvent e); @EventHandler("close-button") void onCloseButtonClick(final ClickEvent e); @EventHandler("input-close-button") void onInputCloseButtonClick(final ClickEvent e); @EventHandler("title-input") void onTitleInputKeyDownEvent(final KeyDownEvent event); @Override void setUUID(final String uuid); @Override void setIcon(final String cssClassName); @Override void setTitle(final String title); @Override String getTitle(); @Override void setContent(final HTMLElement content); @Override void enableReadOnlyMode(); @Override void enableEditMode(); @Override void setupToggleTitle(final boolean enabled); static final String CARD_UUID_ATTR; }### Answer:
@Test public void testSetContent() { final HTMLElement content = mock(HTMLElement.class); cardFrameView.setContent(content); verify(this.content).appendChild(content); }