ConfigEntityReferenceTestBase.php in Feeds 8.3
Namespace
Drupal\Tests\feeds\Unit\Feeds\TargetFile
tests/src/Unit/Feeds/Target/ConfigEntityReferenceTestBase.phpView source
<?php
namespace Drupal\Tests\feeds\Unit\Feeds\Target;
use Drupal\Component\Transliteration\TransliterationInterface;
use Drupal\Core\Config\TypedConfigManagerInterface;
/**
* @coversDefaultClass \Drupal\feeds\Feeds\Target\ConfigEntityReference
* @group feeds
*/
abstract class ConfigEntityReferenceTestBase extends EntityReferenceTestBase {
/**
* The transliteration manager.
*
* @var \Prophecy\Prophecy\ProphecyInterface|\Drupal\Component\Transliteration\TransliterationInterface
*/
protected $transliteration;
/**
* The manager for managing config schema type plugins.
*
* @var \Prophecy\Prophecy\ProphecyInterface|\Drupal\Core\Config\TypedConfigManagerInterface
*/
protected $typedConfigManager;
/**
* {@inheritdoc}
*/
public function setUp() {
parent::setUp();
$this->transliteration = $this
->prophesize(TransliterationInterface::class);
$this->typedConfigManager = $this
->prophesize(TypedConfigManagerInterface::class);
}
}
Classes
Name![]() |
Description |
---|---|
ConfigEntityReferenceTestBase | @coversDefaultClass \Drupal\feeds\Feeds\Target\ConfigEntityReference @group feeds |