Exemple #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);
        }
Exemple #2
0
 public void WhenISetInvalidCustomerUserServiceDissociateUserUIDTo(string userUid)
 {
     customerUserServiceSupport.InvalidDissociateCustomerUserModel.UserUID = InputGenerator.GetValue(userUid);
 }
Exemple #3
0
 public void WhenISetInvalidCustomerServiceUpdateCustomerNameTo(string customerName)
 {
     customerServiceSupport.InvalidUpdateCustomerModel.CustomerName = InputGenerator.GetValue(customerName);
 }
Exemple #4
0
 public void WhenISetInvalidCustomerServiceUpdateDealerNetworkTo(string dealerNetwork)
 {
     customerServiceSupport.InvalidUpdateCustomerModel.DealerNetwork = InputGenerator.GetValue(dealerNetwork);
 }
Exemple #5
0
 public void WhenISetCustomerServiceCreateFirstNameTo(string firstName)
 {
     customerServiceSupport.CreateCustomerModel.FirstName = InputGenerator.GetValue(firstName);
 }
Exemple #6
0
 public void WhenISetInvalidCustomerServiceDeleteCustomerUIDTo(string customerUid)
 {
     customerServiceSupport.InvalidDeleteCustomerModel.CustomerUID = InputGenerator.GetValue(customerUid);
 }
Exemple #7
0
 public void WhenISetInvalidCustomerServiceCreatePrimaryContactEmailTo(string primaryContactEmail)
 {
     customerServiceSupport.InvalidCreateCustomerModel.PrimaryContactEmail = InputGenerator.GetValue(primaryContactEmail);
 }
Exemple #8
0
 public void WhenISetInvalidCustomerServiceDissociateAssetUIDTo(string assetUid)
 {
     customerAssetServiceSupport.InvalidDissociateCustomerAssetModel.AssetUID = InputGenerator.GetValue(assetUid);
 }
Exemple #9
0
 public void WhenISetInvalidCustomerServiceCreateCustomerTypeTo(string customerType)
 {
     customerServiceSupport.InvalidCreateCustomerModel.CustomerType = InputGenerator.GetValue(customerType);
 }
Exemple #10
0
 public void WhenISetCustomerServiceCreateBSSIDTo(string bssId)
 {
     customerServiceSupport.CreateCustomerModel.BSSID = InputGenerator.GetValue(bssId);
 }
Exemple #11
0
 public void WhenISetCustomerServiceUpdateLastNameTo(string lastName)
 {
     customerServiceSupport.UpdateCustomerModel.LastName = InputGenerator.GetValue(lastName);
 }
Exemple #12
0
 public void WhenISetCustomerServiceUpdateDealerAccountCodeTo(string dealerAccountCode)
 {
     customerServiceSupport.UpdateCustomerModel.DealerAccountCode = InputGenerator.GetValue(dealerAccountCode);
 }
Exemple #13
0
 public void WhenISetCustomerServiceUpdateNetworkCustomerCodeTo(string networkCustomerCode)
 {
     customerServiceSupport.UpdateCustomerModel.NetworkCustomerCode = InputGenerator.GetValue(networkCustomerCode);
 }
Exemple #14
0
 public void WhenISetInvalidCustomerAssetServiceAssociateRelationTypeTo(string relationType)
 {
     customerAssetServiceSupport.InvalidAssociateCustomerAssetModel.RelationType = InputGenerator.GetValue(relationType);
 }
Exemple #15
0
 public void WhenISetInvalidCustomerServiceUpdateBSSIDTo(string bssId)
 {
     customerServiceSupport.InvalidUpdateCustomerModel.BSSID = InputGenerator.GetValue(bssId);
 }
Exemple #16
0
 public void WhenISetInvalidCustomerAssetServiceAssociateCustomerUIDTo(string customerUid)
 {
     customerAssetServiceSupport.InvalidAssociateCustomerAssetModel.CustomerUID = InputGenerator.GetValue(customerUid);
 }
Exemple #17
0
 public void WhenISetInvalidCustomerServiceUpdateActionUTCTo(string actionUtc)
 {
     customerServiceSupport.InvalidUpdateCustomerModel.ActionUTC = InputGenerator.GetValue(actionUtc);
 }
Exemple #18
0
 public void WhenISetInvalidCustomerServiceDissociateActionUTCTo(string actionUtc)
 {
     customerAssetServiceSupport.InvalidDissociateCustomerAssetModel.ActionUTC = InputGenerator.GetValue(actionUtc);
 }
Exemple #19
0
 public void WhenISetInvalidCustomerServiceUpdateNetworkDealerCodeTo(string networkDealercode)
 {
     customerServiceSupport.InvalidUpdateCustomerModel.NetworkDealerCode = InputGenerator.GetValue(networkDealercode);
 }