You are here

public function ProcessorPluginManagerTest::testConstruct in Facets 8

Tests plugin manager constructor.

File

tests/src/Unit/Processor/ProcessorPluginManagerTest.php, line 94

Class

ProcessorPluginManagerTest
Unit test for Processor plugin manager.

Namespace

Drupal\Tests\facets\Unit\Processor

Code

public function testConstruct() {
  $namespaces = new ArrayObject();
  $sut = new ProcessorPluginManager($namespaces, $this->cache, $this->moduleHandler, $this->translator);
  $this
    ->assertInstanceOf(ProcessorPluginManager::class, $sut);
}