/**
  * Assert that backend page has correct title and 404 Error is absent on the page.
  *
  * @param Dashboard $dashboard
  * @param string $pageTitle
  * @return void
  */
 public function processAssert(Dashboard $dashboard, $pageTitle)
 {
     \PHPUnit_Framework_Assert::assertEquals($pageTitle, $dashboard->getTitleBlock()->getTitle(), 'Invalid page title is displayed.');
     \PHPUnit_Framework_Assert::assertNotContains(self::ERROR_TEXT, $dashboard->getErrorBlock()->getContent(), "404 Error is displayed on '{$pageTitle}' page.");
 }