Пример #1
0
        public void WhenIPostInValidCustomerListWebApiGetUserCustomerListRequest(string invalidAccessToken)
        {
            string accessToken = InputGenerator.GetValue(invalidAccessToken);

            ResponseString = RestClientUtil.DoInvalidHttpRequest(CustomerListConfig.CustomerListWebAPI, HeaderSettings.GetMethod, accessToken,
                                                                 HeaderSettings.JsonMediaType, null, HttpStatusCode.Unauthorized, HeaderSettings.BearerType, HeaderSettings.JsonMediaType);
        }
Пример #2
0
 public void WhenISetInvalidCustomerUserServiceDissociateUserUIDTo(string userUid)
 {
     customerUserServiceSupport.InvalidDissociateCustomerUserModel.UserUID = InputGenerator.GetValue(userUid);
 }
Пример #3
0
 public void WhenISetInvalidCustomerServiceUpdateCustomerNameTo(string customerName)
 {
     customerServiceSupport.InvalidUpdateCustomerModel.CustomerName = InputGenerator.GetValue(customerName);
 }
Пример #4
0
 public void WhenISetInvalidCustomerServiceUpdateDealerNetworkTo(string dealerNetwork)
 {
     customerServiceSupport.InvalidUpdateCustomerModel.DealerNetwork = InputGenerator.GetValue(dealerNetwork);
 }
Пример #5
0
 public void WhenISetCustomerServiceCreateFirstNameTo(string firstName)
 {
     customerServiceSupport.CreateCustomerModel.FirstName = InputGenerator.GetValue(firstName);
 }
Пример #6
0
 public void WhenISetInvalidCustomerServiceDeleteCustomerUIDTo(string customerUid)
 {
     customerServiceSupport.InvalidDeleteCustomerModel.CustomerUID = InputGenerator.GetValue(customerUid);
 }
Пример #7
0
 public void WhenISetInvalidCustomerServiceCreatePrimaryContactEmailTo(string primaryContactEmail)
 {
     customerServiceSupport.InvalidCreateCustomerModel.PrimaryContactEmail = InputGenerator.GetValue(primaryContactEmail);
 }
Пример #8
0
 public void WhenISetInvalidCustomerServiceDissociateAssetUIDTo(string assetUid)
 {
     customerAssetServiceSupport.InvalidDissociateCustomerAssetModel.AssetUID = InputGenerator.GetValue(assetUid);
 }
Пример #9
0
 public void WhenISetInvalidCustomerServiceCreateCustomerTypeTo(string customerType)
 {
     customerServiceSupport.InvalidCreateCustomerModel.CustomerType = InputGenerator.GetValue(customerType);
 }
Пример #10
0
 public void WhenISetCustomerServiceCreateBSSIDTo(string bssId)
 {
     customerServiceSupport.CreateCustomerModel.BSSID = InputGenerator.GetValue(bssId);
 }
Пример #11
0
 public void WhenISetCustomerServiceUpdateLastNameTo(string lastName)
 {
     customerServiceSupport.UpdateCustomerModel.LastName = InputGenerator.GetValue(lastName);
 }
Пример #12
0
 public void WhenISetCustomerServiceUpdateDealerAccountCodeTo(string dealerAccountCode)
 {
     customerServiceSupport.UpdateCustomerModel.DealerAccountCode = InputGenerator.GetValue(dealerAccountCode);
 }
Пример #13
0
 public void WhenISetCustomerServiceUpdateNetworkCustomerCodeTo(string networkCustomerCode)
 {
     customerServiceSupport.UpdateCustomerModel.NetworkCustomerCode = InputGenerator.GetValue(networkCustomerCode);
 }
Пример #14
0
 public void WhenISetInvalidCustomerAssetServiceAssociateRelationTypeTo(string relationType)
 {
     customerAssetServiceSupport.InvalidAssociateCustomerAssetModel.RelationType = InputGenerator.GetValue(relationType);
 }
Пример #15
0
 public void WhenISetInvalidCustomerServiceUpdateBSSIDTo(string bssId)
 {
     customerServiceSupport.InvalidUpdateCustomerModel.BSSID = InputGenerator.GetValue(bssId);
 }
Пример #16
0
 public void WhenISetInvalidCustomerAssetServiceAssociateCustomerUIDTo(string customerUid)
 {
     customerAssetServiceSupport.InvalidAssociateCustomerAssetModel.CustomerUID = InputGenerator.GetValue(customerUid);
 }
Пример #17
0
 public void WhenISetInvalidCustomerServiceUpdateActionUTCTo(string actionUtc)
 {
     customerServiceSupport.InvalidUpdateCustomerModel.ActionUTC = InputGenerator.GetValue(actionUtc);
 }
Пример #18
0
 public void WhenISetInvalidCustomerServiceDissociateActionUTCTo(string actionUtc)
 {
     customerAssetServiceSupport.InvalidDissociateCustomerAssetModel.ActionUTC = InputGenerator.GetValue(actionUtc);
 }
Пример #19
0
 public void WhenISetInvalidCustomerServiceUpdateNetworkDealerCodeTo(string networkDealercode)
 {
     customerServiceSupport.InvalidUpdateCustomerModel.NetworkDealerCode = InputGenerator.GetValue(networkDealercode);
 }