@Test
public void snapshotActionGroup() {

  // Arrange
  Device device1 = new VirtualDevice.Builder()
    .setName("Pixel 3 API 29")
    .setKey(new Key("Pixel_3_API_29/snap_2019-09-27_15-48-09"))
    .setAndroidDevice(Mockito.mock(AndroidDevice.class))
    .build();
  Device device2 = new VirtualDevice.Builder()
    .setName("Pixel 3 API 29")
    .setKey(new Key("Pixel_3_API_29/snap_2019-09-27_15-49-04"))
    .setAndroidDevice(Mockito.mock(AndroidDevice.class))
    .build();
  List<Device> devices = Arrays.asList(device1, device2);
  // Act
  AnAction action = new SnapshotActionGroup(devices, myComboBoxAction, myProject);
  // Assert
  assertEquals("Pixel 3 API 29", action.getTemplatePresentation().getText());
}