@Test public void testIsFocusedDataTypeWhenItIsFocused() { final Element element = mock(Element.class); final DOMTokenList classList = mock(DOMTokenList.class); element.classList = classList; when(classList.contains(FOCUSED_CSS_CLASS)).thenReturn(true); assertTrue(ListItemViewCssHelper.isFocusedDataType(element)); }
public static boolean isFocusedDataType(final Element element) { return element.classList.contains(FOCUSED_CSS_CLASS); }
ListItemViewCssHelper { public static boolean isFocusedDataType(final Element element) { return element.classList.contains(FOCUSED_CSS_CLASS); } }
ListItemViewCssHelper { public static boolean isFocusedDataType(final Element element) { return element.classList.contains(FOCUSED_CSS_CLASS); }  }
ListItemViewCssHelper { public static boolean isFocusedDataType(final Element element) { return element.classList.contains(FOCUSED_CSS_CLASS); }  static void asRightArrow(final Element element); static void asDownArrow(final Element element); static boolean isRightArrow(final Element element); static void asFocusedDataType(final Element element); static void asNonFocusedDataType(final Element element); static boolean isFocusedDataType(final Element element); }
ListItemViewCssHelper { public static boolean isFocusedDataType(final Element element) { return element.classList.contains(FOCUSED_CSS_CLASS); }  static void asRightArrow(final Element element); static void asDownArrow(final Element element); static boolean isRightArrow(final Element element); static void asFocusedDataType(final Element element); static void asNonFocusedDataType(final Element element); static boolean isFocusedDataType(final Element element); static final String RIGHT_ARROW_CSS_CLASS; static final String DOWN_ARROW_CSS_CLASS; static final String FOCUSED_CSS_CLASS; }