MigrationTest.php 598 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
<?php

/**
 * @file
 * Contains \Drupal\Tests\migrate\Unit\Entity\MigrationTest.
 */

namespace Drupal\Tests\migrate\Unit\Entity;

use Drupal\migrate\Entity\Migration;
use Drupal\Tests\UnitTestCase;

/**
 * Tests the migrate entity.
 *
 * @coversDefaultClass \Drupal\migrate\Entity\Migration
 */
class MigrationTest extends UnitTestCase {

  /**
   * Tests Migration::getProcessPlugins()
   *
   * @covers ::getProcessPlugins()
   */
  public function testGetProcessPlugins() {
    $migration = new Migration([], 'migration');
    $this->assertEquals([], $migration->getProcessPlugins([]));
  }

}