Version 1
[yaffs-website] / web / core / modules / menu_link_content / tests / src / Kernel / Migrate / MigrateMenuLinkContentStubTest.php
1 <?php
2
3 namespace Drupal\Tests\menu_link_content\Kernel\Migrate;
4
5 use Drupal\Tests\migrate_drupal\Kernel\MigrateDrupalTestBase;
6 use Drupal\migrate_drupal\Tests\StubTestTrait;
7
8 /**
9  * Test stub creation for menu link content entities.
10  *
11  * @group menu_link_content
12  */
13 class MigrateMenuLinkContentStubTest extends MigrateDrupalTestBase {
14
15   use StubTestTrait;
16
17   /**
18    * {@inheritdoc}
19    */
20   public static $modules = ['menu_link_content', 'link'];
21
22   /**
23    * {@inheritdoc}
24    */
25   protected function setUp() {
26     parent::setUp();
27     $this->installEntitySchema('menu_link_content');
28   }
29
30   /**
31    * Tests creation of menu link content stubs.
32    */
33   public function testStub() {
34     $this->performStubTest('menu_link_content');
35   }
36
37 }