You are here

public function PageTest::testBuildBasicRenderableWithMissingRoute in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/views/tests/src/Unit/Plugin/display/PageTest.php \Drupal\Tests\views\Unit\Plugin\display\PageTest::testBuildBasicRenderableWithMissingRoute()

@covers ::buildBasicRenderable @expectedException \BadFunctionCallException

File

core/modules/views/tests/src/Unit/Plugin/display/PageTest.php, line 40
Contains \Drupal\Tests\views\Unit\Plugin\display\PageTest.

Class

PageTest
@coversDefaultClass \Drupal\views\Plugin\views\display\Page @group views

Namespace

Drupal\Tests\views\Unit\Plugin\display

Code

public function testBuildBasicRenderableWithMissingRoute() {
  Page::buildBasicRenderable('test_view', 'page_1', []);
}