protected function PathRootsSubscriberTest::setUp in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/tests/Drupal/Tests/Core/EventSubscriber/PathRootsSubscriberTest.php \Drupal\Tests\Core\EventSubscriber\PathRootsSubscriberTest::setUp()
Overrides UnitTestCase::setUp
File
- core/
tests/ Drupal/ Tests/ Core/ EventSubscriber/ PathRootsSubscriberTest.php, line 39 - Contains \Drupal\Tests\Core\EventSubscriber\PathRootsSubscriberTest.
Class
- PathRootsSubscriberTest
- @coversDefaultClass \Drupal\Core\EventSubscriber\PathRootsSubscriber @group EventSubscriber
Namespace
Drupal\Tests\Core\EventSubscriberCode
protected function setUp() {
$this->state = $this
->getMock('Drupal\\Core\\State\\StateInterface');
$this->pathRootsSubscriber = new PathRootsSubscriber($this->state);
}