@Test
public void isDisabled() {

    Element elementMock = mock(Element.class);
    when(elementMock.getClassName()).thenReturn(Styles.DISABLED);
    assertTrue(baseMenu.isDisabled(elementMock));
    when(elementMock.getClassName()).thenReturn(Styles.DROPDOWN_MENU);
    assertFalse(baseMenu.isDisabled(elementMock));
}