You are here

public function QueryTypePluginManagerTest::testConstruct in Facets 8

Tests plugin manager constructor.

File

tests/src/Unit/QueryType/QueryTypePluginManagerTest.php, line 83

Class

QueryTypePluginManagerTest
Unit test for the query type plugin manager.

Namespace

Drupal\Tests\facets\Unit\QueryType

Code

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