function DevelEntityTypeInfoTest::testEntityInfoMenuLink
Tests entity info menu link.
File
- 
              tests/src/ Functional/ DevelEntityTypeInfoTest.php, line 28 
Class
- DevelEntityTypeInfoTest
- Tests entity type info pages and links.
Namespace
Drupal\Tests\devel\FunctionalCode
public function testEntityInfoMenuLink() {
  $this->drupalPlaceBlock('system_menu_block:devel');
  // Ensures that the entity type info link is present on the devel menu and
  // that it points to the correct page.
  $this->drupalGet('');
  $this->clickLink('Entity Info');
  $this->assertSession()
    ->statusCodeEquals(200);
  $this->assertSession()
    ->addressEquals('/devel/entity/info');
  $this->assertSession()
    ->pageTextContains('Entity Info');
}