protected function SearchPluginCollectionTest::setUp in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/search/tests/src/Unit/SearchPluginCollectionTest.php \Drupal\Tests\search\Unit\SearchPluginCollectionTest::setUp()
Overrides UnitTestCase::setUp
File
- core/
modules/ search/ tests/ src/ Unit/ SearchPluginCollectionTest.php, line 43 - Contains \Drupal\Tests\search\Unit\SearchPluginCollectionTest.
Class
- SearchPluginCollectionTest
- @coversDefaultClass \Drupal\search\Plugin\SearchPluginCollection @group search
Namespace
Drupal\Tests\search\UnitCode
protected function setUp() {
$this->pluginManager = $this
->getMock('Drupal\\Component\\Plugin\\PluginManagerInterface');
$this->searchPluginCollection = new SearchPluginCollection($this->pluginManager, 'banana', array(
'id' => 'banana',
'color' => 'yellow',
), 'fruit_stand');
}