You are here

public function FacetSourcePluginManagerTest::testConstruct in Facets 8

Tests plugin manager constructor.

File

tests/src/Unit/FacetSource/FacetSourcePluginManagerTest.php, line 84

Class

FacetSourcePluginManagerTest
Unit test for plugin manager.

Namespace

Drupal\Tests\facets\Unit\FacetSource

Code

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