### Question:
DNDListDOMHelper { static boolean isDraggingElement(final HTMLElement element) { return element.classList.contains(DRAGGING); }   static final String DRAGGING; }### Answer:
@Test public void testIsDraggingElementWhenItsDragging() { element.classList = mock(DOMTokenList.class); when(element.classList.contains(DRAGGING)).thenReturn(true); assertTrue(isDraggingElement(element)); }
@Test public void testIsDraggingElementWhenItsNotDragging() { element.classList = mock(DOMTokenList.class); when(element.classList.contains(DRAGGING)).thenReturn(false); assertFalse(isDraggingElement(element)); }