Tests _menu_translate().
public function testMenuTranslate() {
// Check for access to a restricted local task from a default local task.
$this
->drupalGet('foo/asdf');
$this
->assertResponse(200);
$this
->assertLinkByHref('foo/asdf');
$this
->assertLinkByHref('foo/asdf/b');
$this
->assertNoLinkByHref('foo/asdf/c');
// Attempt to access a restricted local task.
$this
->drupalGet('foo/asdf/c');
$this
->assertResponse(403);
$this
->assertNoLinkByHref('foo/asdf');
$this
->assertNoLinkByHref('foo/asdf/b');
$this
->assertNoLinkByHref('foo/asdf/c');
}