@Test public void testHide() { final Element element = mock(Element.class); final DOMTokenList classList = mock(DOMTokenList.class); element.classList = classList; HiddenHelper.hide(element); verify(classList).add(HIDDEN_CSS_CLASS); }
public static void hide(final Element element) { element.classList.add(HIDDEN_CSS_CLASS); }
HiddenHelper { public static void hide(final Element element) { element.classList.add(HIDDEN_CSS_CLASS); } }
HiddenHelper { public static void hide(final Element element) { element.classList.add(HIDDEN_CSS_CLASS); }  }
HiddenHelper { public static void hide(final Element element) { element.classList.add(HIDDEN_CSS_CLASS); }  static void hide(final Element element); static void show(final Element element); static boolean isHidden(final Element element); }
HiddenHelper { public static void hide(final Element element) { element.classList.add(HIDDEN_CSS_CLASS); }  static void hide(final Element element); static void show(final Element element); static boolean isHidden(final Element element); static final String HIDDEN_CSS_CLASS; }