protected function PathRootsSubscriberTest::setUp in Drupal 8
Same name and namespace in other branches
- 9 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 34 
Class
- PathRootsSubscriberTest
- @coversDefaultClass \Drupal\Core\EventSubscriber\PathRootsSubscriber @group EventSubscriber
Namespace
Drupal\Tests\Core\EventSubscriberCode
protected function setUp() {
  $this->state = $this
    ->createMock('Drupal\\Core\\State\\StateInterface');
  $this->pathRootsSubscriber = new PathRootsSubscriber($this->state);
}