You are here

ConfigEntityReferenceTestBase.php in Feeds 8.3

File

tests/src/Unit/Feeds/Target/ConfigEntityReferenceTestBase.php
View 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