/** * Assert that fail message is present * * @param CustomerAccountEdit $customerAccountEdit * @return void */ public function processAssert(CustomerAccountEdit $customerAccountEdit) { \PHPUnit_Framework_Assert::assertEquals(self::FAIL_MESSAGE, $customerAccountEdit->getMessages()->getErrorMessages()); }