/**
  * Assert that success message is displayed after category save.
  *
  * @param CatalogCategoryIndex $catalogCategoryIndex
  * @return void
  */
 public function processAssert(CatalogCategoryIndex $catalogCategoryIndex)
 {
     $actualMessage = $catalogCategoryIndex->getMessagesBlock()->getSuccessMessages();
     \PHPUnit_Framework_Assert::assertEquals(self::SUCCESS_MESSAGE, $actualMessage, 'Wrong success message is displayed.');
 }
 /**
  * Assert that after delete a category successful delete message appears.
  *
  * @param CatalogCategoryIndex $catalogCategoryIndex
  * @return void
  */
 public function processAssert(CatalogCategoryIndex $catalogCategoryIndex)
 {
     \PHPUnit_Framework_Assert::assertEquals(self::SUCCESS_DELETE_MESSAGE, $catalogCategoryIndex->getMessagesBlock()->getSuccessMessages());
 }