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