@Test
public void isSelectedImageIsNull() {

  ToggleAction action = new ToggleStateAction(State.PRESSED, mockSurface(null));
  assertFalse(action.isSelected(new AnActionEvent(null, dataId -> null, "sdsd", action.getTemplatePresentation(), ActionManager.getInstance(), -1)));
}