@Test
public void updatePresentation() {

  // Arrange
  RunConfiguration configuration = Mockito.mock(AndroidRunConfiguration.class);
  RunnerAndConfigurationSettings settings = Mockito.mock(RunnerAndConfigurationSettings.class);
  Mockito.when(settings.getConfiguration()).thenReturn(configuration);
  // Act
  DeviceAndSnapshotComboBoxAction.updatePresentation(myPresentation, settings);
  // Assert
  assertNull(myPresentation.getDescription());
  assertTrue(myPresentation.isEnabled());
}