@Test
public void updateWithNonSupportedRunConfigurationTypeShouldDisableAction() {

  // Arrange
  RunnerAndConfigurationSettings settings = Mockito.mock(RunnerAndConfigurationSettings.class);
  Mockito.when(settings.getType()).thenReturn(Mockito.mock(ConfigurationType.class));
  myAction = new RunOnMultipleDevicesAction(project -> settings, project -> Collections.emptyList());
  Mockito.when(myEvent.getProject()).thenReturn(myRule.getProject());
  // Act
  myAction.update(myEvent);
  // Assert
  assertFalse(myPresentation.isEnabled());
}