@Test
public void testTaskPromptsUserIfIotPackageExists() {

  when(myChecker.getInstalledIotLauncherApps(myEmbeddedDevice)).thenReturn(Collections.singleton(OTHER_PACKAGE_NAME));
  UninstallIotLauncherAppsTask task = new UninstallIotLauncherAppsTask(PACKAGE_NAME, myChecker, myPrompt);
  task.run(myExecutor, myEmbeddedDevice, myLaunchStatus, myPrinter);
  verify(myPrompt).showQuestionPrompt(Mockito.anyString());
}