@Test
public void updatePresentationConfigurationIsntAndroidRunConfigurationNorAndroidTestRunConfiguration() {

  // Arrange
  RunConfiguration configuration = Mockito.mock(RunConfiguration.class);
  Mockito.when(configuration.getName()).thenReturn("ExampleUnitTest");
  RunnerAndConfigurationSettings settings = Mockito.mock(RunnerAndConfigurationSettings.class);
  Mockito.when(settings.getConfiguration()).thenReturn(configuration);
  // Act
  DeviceAndSnapshotComboBoxAction.updatePresentation(myPresentation, settings);
  // Assert
  assertEquals("Not applicable for the \"ExampleUnitTest\" configuration", myPresentation.getDescription());
  assertFalse(myPresentation.isEnabled());
}