1 admin_bar.test protected AdminBarWebTestCase::assertNoLinkTrailByTitle(array $trail)

Asserts that no link appears in the menu for a specified trail.

Parameters

array $trail: A list of menu link titles to assert in the menu.

File

core/modules/admin_bar/tests/admin_bar.test, line 87
Tests for the Administration bar module.

Class

AdminBarWebTestCase
Base class for all administration bar web test cases.

Code

protected function assertNoLinkTrailByTitle(array $trail) {
  list($xpath, $args, $message) = $this->_getXpathLinkTrailByTitle($trail);
  $this->assertNoElementByXPath($xpath, $args, $message . ' link not found.');
}