@Test
public void onFullClassNameClick() {

    when(listGroupElementMock.getClassName()).thenReturn("not-empty disabled");
    listGroupItemViewSpy.onFullClassNameClick(mock(ClickEvent.class));
    verify(listGroupItemMock, never()).addClassName(eq(ConstantHolder.SELECTED));
    verify(listGroupItemPresenterMock, never()).onSelectedElement(eq(listGroupItemViewSpy));
    //
    when(listGroupElementMock.getClassName()).thenReturn("empty");
    listGroupItemViewSpy.onFullClassNameClick(mock(ClickEvent.class));
    verify(listGroupItemMock, times(1)).addClassName(eq(ConstantHolder.SELECTED));
    verify(listGroupItemPresenterMock, times(1)).onSelectedElement(eq(listGroupItemViewSpy));
}