Пример #1
0
 public new void SetUp()
 {
     base.SetUp();
       AuthLoginRequest = null;
       AuthLoginResponse = null;
       Exception = null;
 }
Пример #2
0
        protected void When_A_User_Is_Created(string userName = null, string password = null)
        {
            userName = userName.IfNullThen(RandomData.String());
              password = password.IfNullThen(RandomData.String());

              AuthLoginRequest = new AuthLoginRequest
              {
            PlainPassword = password,
            UserName = userName
              };

              Exception = Catcher.Try(() => AuthLoginResponse = AuthServiceClient.Client.Create(AuthLoginRequest).Result);
        }