/**
  * @Then the static content :title should not be added
  */
 public function theStaticContentShouldNotBeAdded($title)
 {
     if (!$this->indexPage->isOpen()) {
         $this->indexPage->open();
     }
     Assert::false($this->indexPage->isSingleResourceOnPage(['title' => $title]), sprintf('Static content with title %s was created, but it should not.', $title));
 }
 /**
  * @Then the route with content :title should not be added
  */
 public function theRouteWithContentShouldNotBeAdded($title)
 {
     if (!$this->indexPage->isOpen()) {
         $this->indexPage->open();
     }
     Assert::false($this->indexPage->isSingleResourceOnPage(['content' => $title]), sprintf('Found route with content "%s" assigned, but expected not to.', $title));
 }