public function WidgetPluginManagerTest::testConstruct in Facets 8
Tests plugin manager constructor.
File
- tests/
src/ Unit/ Widget/ WidgetPluginManagerTest.php, line 93
Class
- WidgetPluginManagerTest
- Unit test for widget plugin manager.
Namespace
Drupal\Tests\facets\Unit\WidgetCode
public function testConstruct() {
$namespaces = new ArrayObject();
$sut = new WidgetPluginManager($namespaces, $this->cache, $this->moduleHandler, $this->translator);
$this
->assertInstanceOf(WidgetPluginManager::class, $sut);
}