#NEWLINE# def testLinkMobileUser( self ) : #NEWLINE# #INDENT# 'Test successful link of mobile user.' #NEWLINE# ( user , device_id ) = self . _tester . RegisterFacebookUser ( self . _facebook_user_dict ) #NEWLINE# cookie = self . _GetSecureUserCookie ( user , device_id ) #NEWLINE# self . _tester . LinkFacebookUser ( self . _facebook_user2_dict , self . _mobile_device_dict , user_cookie = cookie ) #NEWLINE# self . _tester . LinkFacebookUser ( self . _facebook_user2_dict , user_cookie = cookie ) #NEWLINE# self . assertEqual ( len ( self . _tester . ListIdentities ( cookie ) ) , 2 )