public function setUp() : void {
parent::setUp();
$this
->installEntitySchema('paragraph');
// Create feed type.
$this->feedType = $this
->createFeedTypeForCsv([
'guid' => 'guid',
'title' => 'title',
'alpha' => 'alpha',
]);
// Add a Paragraph field to the article content type.
$this
->addParagraphsField('article', 'field_paragraphs', 'node');
$this
->addParagraphsType('test_paragraph');
$this
->addFieldtoParagraphType('test_paragraph', 'field_text', 'text');
drupal_flush_all_caches();
}