You are here

protected function DefaultPluginTypeOperationsProviderTest::setUp in Plugin 8.2

Overrides UnitTestCase::setUp

File

tests/src/Unit/PluginType/DefaultPluginTypeOperationsProviderTest.php, line 41

Class

DefaultPluginTypeOperationsProviderTest
@coversDefaultClass \Drupal\plugin\PluginType\DefaultPluginTypeOperationsProvider

Namespace

Drupal\Tests\plugin\Unit\PluginType

Code

protected function setUp() : void {
  $this->stringTranslation = $this
    ->getStringTranslationStub();
  $this->services = [
    'string_translation' => $this->stringTranslation,
  ];
  $this->sut = new DefaultPluginTypeOperationsProvider($this->stringTranslation);
}