/**
  * Assert that it's impossible to delete configurable attribute that is used in created configurable product
  *
  * @param CatalogProductAttributeNew $newPage
  * @return void
  */
 public function processAssert(CatalogProductAttributeNew $newPage)
 {
     \PHPUnit_Framework_Assert::assertEquals(self::ERROR_DELETE_MESSAGE, $newPage->getMessagesBlock()->getErrorMessages(), 'Wrong impossible to delete message is not displayed.');
 }