@Test
public void executeTasks() {

  String projectPath = "projectPath";
  List<String> taskNames = Arrays.asList("fooTask");
  ExternalSystemTaskId taskId = mock(ExternalSystemTaskId.class);
  Project project = mock(Project.class);
  GradleBuildInvoker gradleBuildInvoker = createInvokerMock(projectPath, taskId, project);
  ExternalSystemTaskNotificationListenerAdapter listener = new ExternalSystemTaskNotificationListenerAdapter() {};
 b/144931276
  new AndroidGradleTaskManager().executeTasks(taskId, taskNames, projectPath, null, null, listener);
  verify(gradleBuildInvoker).executeTasks(argThat(new RequestMatcher(
    new GradleBuildInvoker.Request(project, new File(projectPath), taskNames, taskId)
      .setJvmArguments(new ArrayList<>())
      .setCommandLineArguments(new ArrayList<>())
      .setTaskListener(listener)
      .waitForCompletion())));
144931276 */
}