@Test public void testAsDragging() { element.classList = mock(DOMTokenList.class); final HTMLElement actual = asDragging(element); final HTMLElement expected = element; verify(element.classList).add(DRAGGING); assertEquals(expected, actual); }
static HTMLElement asDragging(final HTMLElement element) { element.classList.add(DRAGGING); return element; }
DNDListDOMHelper { static HTMLElement asDragging(final HTMLElement element) { element.classList.add(DRAGGING); return element; } }
DNDListDOMHelper { static HTMLElement asDragging(final HTMLElement element) { element.classList.add(DRAGGING); return element; }  }
DNDListDOMHelper { static HTMLElement asDragging(final HTMLElement element) { element.classList.add(DRAGGING); return element; }   }
DNDListDOMHelper { static HTMLElement asDragging(final HTMLElement element) { element.classList.add(DRAGGING); return element; }   static final String DRAGGING; }