'Test the validation message for a correctly configured conditional.'

def test_validation_messages(self):

    self.conditional.sources_list = None
    validation = self.conditional.validate()
    self.assertEqual(validation.summary.text, u'This    component    has    no    source    components    configured    yet.')
    self.assertEqual(validation.summary.type, StudioValidationMessage.NOT_CONFIGURED)
    self.assertEqual(validation.summary.action_class, 'edit-button')
    self.assertEqual(validation.summary.action_label, u'Configure    list    of    sources')
