'Verify that we see validation errors for the given component.'

def verify_component_validation_error(self, component):

    self.assertTrue(component.has_validation_error)
    self.assertEqual(component.validation_error_text, self.VALIDATION_ERROR_LABEL)
    self.assertEqual([self.VALIDATION_ERROR_MESSAGE], component.validation_error_messages)
