'Verify message if birth year is not set.
Given that I am a registered user.
And birth year is not set for the user.
And I visit my profile page.
Then I should see a message that the profile is private until the year of birth is set.'

def test_birth_year_not_set(self):

    (username, user_id) = self.log_in_as_unique_user()
    message = 'You    must    specify    your    birth    year    before    you    can    share    your    full    profile.'
    self.verify_profile_forced_private_message(username, birth_year=None, message=message)
    self.verify_profile_page_view_event(username, user_id, visibility=self.PRIVACY_PRIVATE)
