@Test
public void isSelectedImageIsPressed() {

  ImageView image = mockImage(new int[]{State.PRESSED.getIntValue()});
  ToggleAction action = new ToggleStateAction(State.PRESSED, mockSurface(image));
  assertTrue(action.isSelected(new AnActionEvent(null, dataId -> null, "sdsd", action.getTemplatePresentation(), ActionManager.getInstance(), -1)));
}