public void Initialize()
 {
     _facebookUser        = UserGenerator.GenerateFacebookUser();
     _twitterUser         = UserGenerator.GenerateTwitterUser();
     _facebookResult      = ProviderVerifyResultGenerator.GenFacebookVerifyResult();
     _twitterResult       = ProviderVerifyResultGenerator.GenTwitterVerifyResult();
     _facebookGrant       = AccessGrantGenerator.GenFacebookGrant();
     _twitterGrant        = AccessGrantGenerator.GenTwitterGrant();
     _facebookCredentials = CredentialsDtoGenerator.GenFacebookCredentials();
     _twitterCredentials  = CredentialsDtoGenerator.GenTwitterCredentials();
 }
示例#2
0
 public void Initialize()
 {
     _user1 = UserGenerator.GenerateFacebookUser();
     _user2 = UserGenerator.GenerateTwitterUser();
     _users = UserGenerator.GenerateUsers();
 }