You are here

protected function ParagraphsFieldInstanceSettingsTest::setUp in Paragraphs 8

Overrides ProcessTestCase::setUp

File

tests/src/Unit/migrate/ParagraphsFieldInstanceSettingsTest.php, line 18

Class

ParagraphsFieldInstanceSettingsTest
Test the ParagraphFieldInstanceSettings Process Plugin.

Namespace

Drupal\Tests\paragraphs\Unit\migrate

Code

protected function setUp() : void {
  parent::setUp();
  $this->row
    ->expects($this
    ->any())
    ->method('getSourceProperty')
    ->with('type')
    ->willReturn('paragraphs');
  $this->plugin = new ParagraphsFieldInstanceSettings([], 'paragraphs_field_instance_settings', [], $this->entityTypeBundleInfo);
}