protected function execute(array $migration_ids, $method_name) {
    array_walk($migration_ids, function ($migration_id) use ($method_name) {
      /** @var \Drupal\migrate\Plugin\Migration $migration */
      if (!$migration = $this->manager->createInstance($migration_id)) {
        throw new PluginNotFoundException($migration_id);
      }
      $migrate_executable = (new MigrateExecutable($migration, new MigrateMessage()));
      call_user_func_array([$migrate_executable, $method_name], []);
    });
  }