You are here

TestMigrateExecutable.php in Drupal 8

File

core/modules/migrate/tests/src/Kernel/TestMigrateExecutable.php
View source
<?php

namespace Drupal\Tests\migrate\Kernel;

use Drupal\migrate\MigrateExecutable;

/**
 * Tests MigrateExecutable.
 */
class TestMigrateExecutable extends MigrateExecutable {

  /**
   * {@inheritdoc}
   */
  protected function getIdMap() {

    // This adds test coverage that this works.
    return new TestFilterIterator(parent::getIdMap());
  }

  /**
   * {@inheritdoc}
   */
  protected function getSource() {

    // This adds test coverage that this works.
    return new TestFilterIterator(parent::getSource());
  }

}

Classes

Namesort descending Description
TestMigrateExecutable Tests MigrateExecutable.