public function PluginSelectorBaseTest::testGetCollectPluginConfiguration in Plugin 8.2
@covers ::setCollectPluginConfiguration @covers ::getCollectPluginConfiguration
File
- tests/
src/ Unit/ Plugin/ Plugin/ PluginSelector/ PluginSelectorBaseTest.php, line 105
Class
- PluginSelectorBaseTest
- @coversDefaultClass \Drupal\plugin\Plugin\Plugin\PluginSelector\PluginSelectorBase
Namespace
Drupal\Tests\plugin\Unit\Plugin\Plugin\PluginSelectorCode
public function testGetCollectPluginConfiguration() {
$collect = (bool) mt_rand(0, 1);
$this
->assertSame($this->sut, $this->sut
->setCollectPluginConfiguration($collect));
$this
->assertSame($collect, $this->sut
->getCollectPluginConfiguration());
}