'Test behaviour a link field.'

def _test_link_field(self, field_id, title, link_title, field_type, success_message):

    self.assertEqual(self.account_settings_page.title_for_field(field_id), title)
    self.assertEqual(self.account_settings_page.link_title_for_link_field(field_id), link_title)
    self.account_settings_page.click_on_link_in_link_field(field_id, field_type=field_type)
    self.account_settings_page.wait_for_message(field_id, success_message)
