@Test
public void getName_emulatorWithNoAvdName() {

  IDevice emulatorWithNoAvdName = createMockRunningEmulator(null);
  assertThat(new ConnectedAndroidDevice(emulatorWithNoAvdName, null).getName()).isEqualTo("Google Pixel [local:5554]");
}