'Verifies that the group visibility message below the component display name is correct.'

def verify_component_group_visibility_messsage(self, component, expected_groups):

    if (not expected_groups):
        self.assertIsNone(component.get_partition_group_message)
    else:
        self.assertEqual(('Access    restricted    to:    ' + expected_groups), component.get_partition_group_message)
