def test_validation_for_accepted_application_with_message(self):
        self.assertEqual(
            self.voiceover_application.status,
            suggestion_models.STATUS_IN_REVIEW)
        self.assertEqual(self.voiceover_application.rejection_message, None)
        self.voiceover_application.validate()

        self.voiceover_application.final_reviewer_id = 'reviewer_id'
        self.voiceover_application.status = suggestion_models.STATUS_ACCEPTED
        self.voiceover_application.rejection_message = 'Invalid message'
        with self.assertRaisesRegex(
            utils.ValidationError,
            'Expected rejection_message to be None for the accepted '
            'voiceover application, received Invalid message'
        ):
            self.voiceover_application.validate()