TestMigrateExecutable.php

Same filename in this branch
  1. 9 core/modules/migrate/tests/src/Unit/TestMigrateExecutable.php
Same filename in other branches
  1. 8.9.x core/modules/migrate/tests/src/Unit/TestMigrateExecutable.php
  2. 8.9.x core/modules/migrate/tests/src/Kernel/TestMigrateExecutable.php
  3. 10 core/modules/migrate/tests/src/Unit/TestMigrateExecutable.php
  4. 10 core/modules/migrate/tests/src/Kernel/TestMigrateExecutable.php
  5. 11.x core/modules/migrate/tests/src/Unit/TestMigrateExecutable.php
  6. 11.x core/modules/migrate/tests/src/Kernel/TestMigrateExecutable.php

Namespace

Drupal\Tests\migrate\Kernel

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

Title Deprecated Summary
TestMigrateExecutable Tests MigrateExecutable.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.