src/DrupalExtension/Context/ContentContext.php
public function assertContentEditLink($link, $title) {
    if (!$this->getContentEditLink($link, $title)) {
      throw new ExpectationException("No '$link' link to edit '$title' has been found.", $this->getSession());
    }
  }
public function assertContentEditLink($link, $title) {
    if (!$this->getContentEditLink($link, $title)) {
      throw new ExpectationException("No '$link' link to edit '$title' has been found.", $this->getSession());
    }
  }
public function assertContentEditLink ( $ link , $ title ) { if ( ! $ this -> getContentEditLink ( $ link , $ title ) ) { throw new ExpectationException ( "No '$link' link to edit '$title' has been found." , $ this -> getSession ( ) ) ; } }
Assert presence of content edit link given its name and content title.

@param string $link
Link "name" HTML attribute.
@param string $title
Content title.

@throws \Behat\Mink\Exception\ExpectationException
If no edit link for given content has been found.

@Then I should see the link :link to edit content :content
@Then I should see a link :link to edit content :content
Assert presence of content edit link given its name and content title .