CheatSheetViewImpl extends Composite implements CheatSheetView { @Override public void reset() { dmnCheatSheet.getStyle().setDisplay(Style.Display.NONE); ruleCheatSheet.getStyle().setDisplay(Style.Display.NONE); }  @Override void init(Presenter presenter); @Override Presenter getPresenter(); @Override void setRuleCheatSheetContent(); @Override void setDMNCheatSheetContent(); @Override void reset();  }
@Test public void reset() { cheatSheetView.reset(); verify(ruleCheatSheetStyleMock, times(1)).setDisplay(Style.Display.NONE); verify(dmnCheatSheetStyleMock, times(1)).setDisplay(Style.Display.NONE); }