diff --git a/changes.md b/changes.md index 6b93b573367..a20dae985fc 100644 --- a/changes.md +++ b/changes.md @@ -1,29 +1,20 @@ **Api changes**
-Changed MethodResponseBody(s) +Added Enum(s) -- :warning: changed response body for `200: application/json` of method `get /{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/approval-rules` from type `<>` to `ApprovalRulePagedQueryResponse` -- :warning: changed response body for `200: application/json` of method `get /{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/approval-flows` from type `<>` to `ApprovalFlowPagedQueryResponse` +- added enum `customer-email-token` to type `ReferenceTypeId` +- added enum `customer-password-token` to type `ReferenceTypeId` +- added enum `customer-email-token` to type `MessageSubscriptionResourceTypeId` +- added enum `customer-group` to type `MessageSubscriptionResourceTypeId` +- added enum `customer-password-token` to type `MessageSubscriptionResourceTypeId`
Added Type(s) -- added type `ApprovalFlowPagedQueryResponse` -- added type `ApprovalRulePagedQueryResponse` -- added type `CustomerEmailTokenCreatedMessage` -- added type `CustomerPasswordTokenCreatedMessage` -- added type `CustomerEmailTokenCreatedMessagePayload` -- added type `CustomerPasswordTokenCreatedMessagePayload` -
- -**Import changes** - -
-Added Property(s) - -- added property `product` to type `ProductVariantPatch` +- added type `CustomerEmailTokenReference` +- added type `CustomerPasswordTokenReference`
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/Reference.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/Reference.java index 2e97696542c..b8f4105be06 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/Reference.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/Reference.java @@ -17,6 +17,8 @@ import com.commercetools.api.models.category.CategoryReference; import com.commercetools.api.models.channel.ChannelReference; import com.commercetools.api.models.custom_object.CustomObjectReference; +import com.commercetools.api.models.customer.CustomerEmailTokenReference; +import com.commercetools.api.models.customer.CustomerPasswordTokenReference; import com.commercetools.api.models.customer.CustomerReference; import com.commercetools.api.models.customer_group.CustomerGroupReference; import com.commercetools.api.models.discount_code.DiscountCodeReference; @@ -67,7 +69,9 @@ @JsonSubTypes.Type(value = com.commercetools.api.models.category.CategoryReferenceImpl.class, name = CategoryReference.CATEGORY), @JsonSubTypes.Type(value = com.commercetools.api.models.channel.ChannelReferenceImpl.class, name = ChannelReference.CHANNEL), @JsonSubTypes.Type(value = com.commercetools.api.models.custom_object.CustomObjectReferenceImpl.class, name = CustomObjectReference.KEY_VALUE_DOCUMENT), + @JsonSubTypes.Type(value = com.commercetools.api.models.customer.CustomerEmailTokenReferenceImpl.class, name = CustomerEmailTokenReference.CUSTOMER_EMAIL_TOKEN), @JsonSubTypes.Type(value = com.commercetools.api.models.customer_group.CustomerGroupReferenceImpl.class, name = CustomerGroupReference.CUSTOMER_GROUP), + @JsonSubTypes.Type(value = com.commercetools.api.models.customer.CustomerPasswordTokenReferenceImpl.class, name = CustomerPasswordTokenReference.CUSTOMER_PASSWORD_TOKEN), @JsonSubTypes.Type(value = com.commercetools.api.models.customer.CustomerReferenceImpl.class, name = CustomerReference.CUSTOMER), @JsonSubTypes.Type(value = com.commercetools.api.models.cart.DirectDiscountReferenceImpl.class, name = DirectDiscountReference.DIRECT_DISCOUNT), @JsonSubTypes.Type(value = com.commercetools.api.models.discount_code.DiscountCodeReferenceImpl.class, name = DiscountCodeReference.DISCOUNT_CODE), @@ -161,10 +165,18 @@ public static Reference deepCopy(@Nullable final Reference template) { return com.commercetools.api.models.custom_object.CustomObjectReference .deepCopy((com.commercetools.api.models.custom_object.CustomObjectReference) template); } + if (template instanceof com.commercetools.api.models.customer.CustomerEmailTokenReference) { + return com.commercetools.api.models.customer.CustomerEmailTokenReference + .deepCopy((com.commercetools.api.models.customer.CustomerEmailTokenReference) template); + } if (template instanceof com.commercetools.api.models.customer_group.CustomerGroupReference) { return com.commercetools.api.models.customer_group.CustomerGroupReference .deepCopy((com.commercetools.api.models.customer_group.CustomerGroupReference) template); } + if (template instanceof com.commercetools.api.models.customer.CustomerPasswordTokenReference) { + return com.commercetools.api.models.customer.CustomerPasswordTokenReference + .deepCopy((com.commercetools.api.models.customer.CustomerPasswordTokenReference) template); + } if (template instanceof com.commercetools.api.models.customer.CustomerReference) { return com.commercetools.api.models.customer.CustomerReference .deepCopy((com.commercetools.api.models.customer.CustomerReference) template); @@ -326,6 +338,14 @@ public static com.commercetools.api.models.custom_object.CustomObjectReferenceBu return com.commercetools.api.models.custom_object.CustomObjectReferenceBuilder.of(); } + /** + * builder for customerEmailToken subtype + * @return builder + */ + public static com.commercetools.api.models.customer.CustomerEmailTokenReferenceBuilder customerEmailTokenBuilder() { + return com.commercetools.api.models.customer.CustomerEmailTokenReferenceBuilder.of(); + } + /** * builder for customerGroup subtype * @return builder @@ -334,6 +354,14 @@ public static com.commercetools.api.models.customer_group.CustomerGroupReference return com.commercetools.api.models.customer_group.CustomerGroupReferenceBuilder.of(); } + /** + * builder for customerPasswordToken subtype + * @return builder + */ + public static com.commercetools.api.models.customer.CustomerPasswordTokenReferenceBuilder customerPasswordTokenBuilder() { + return com.commercetools.api.models.customer.CustomerPasswordTokenReferenceBuilder.of(); + } + /** * builder for customer subtype * @return builder diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ReferenceBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ReferenceBuilder.java index 2cf0b37017e..2e620292c3d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ReferenceBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ReferenceBuilder.java @@ -43,10 +43,18 @@ public com.commercetools.api.models.custom_object.CustomObjectReferenceBuilder k return com.commercetools.api.models.custom_object.CustomObjectReferenceBuilder.of(); } + public com.commercetools.api.models.customer.CustomerEmailTokenReferenceBuilder customerEmailTokenBuilder() { + return com.commercetools.api.models.customer.CustomerEmailTokenReferenceBuilder.of(); + } + public com.commercetools.api.models.customer_group.CustomerGroupReferenceBuilder customerGroupBuilder() { return com.commercetools.api.models.customer_group.CustomerGroupReferenceBuilder.of(); } + public com.commercetools.api.models.customer.CustomerPasswordTokenReferenceBuilder customerPasswordTokenBuilder() { + return com.commercetools.api.models.customer.CustomerPasswordTokenReferenceBuilder.of(); + } + public com.commercetools.api.models.customer.CustomerReferenceBuilder customerBuilder() { return com.commercetools.api.models.customer.CustomerReferenceBuilder.of(); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ReferenceTypeId.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ReferenceTypeId.java index 965c1a27e45..4a50c2bfa05 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ReferenceTypeId.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ReferenceTypeId.java @@ -56,11 +56,21 @@ public interface ReferenceTypeId extends JsonEnum { */ ReferenceTypeId CUSTOMER = ReferenceTypeIdEnum.CUSTOMER; + /** +

References a CustomerToken for email verification.

+ + */ + ReferenceTypeId CUSTOMER_EMAIL_TOKEN = ReferenceTypeIdEnum.CUSTOMER_EMAIL_TOKEN; /**

References a CustomerGroup.

*/ ReferenceTypeId CUSTOMER_GROUP = ReferenceTypeIdEnum.CUSTOMER_GROUP; + /** +

References a CustomerToken for password reset.

+ + */ + ReferenceTypeId CUSTOMER_PASSWORD_TOKEN = ReferenceTypeIdEnum.CUSTOMER_PASSWORD_TOKEN; /**

References a DirectDiscount.

@@ -236,11 +246,21 @@ enum ReferenceTypeIdEnum implements ReferenceTypeId { */ CUSTOMER("customer"), + /** + * customer-email-token + */ + CUSTOMER_EMAIL_TOKEN("customer-email-token"), + /** * customer-group */ CUSTOMER_GROUP("customer-group"), + /** + * customer-password-token + */ + CUSTOMER_PASSWORD_TOKEN("customer-password-token"), + /** * direct-discount */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerEmailTokenReference.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerEmailTokenReference.java new file mode 100644 index 00000000000..fdfc21eab05 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerEmailTokenReference.java @@ -0,0 +1,127 @@ + +package com.commercetools.api.models.customer; + +import java.time.*; +import java.util.*; +import java.util.function.Function; + +import javax.annotation.Nullable; +import javax.validation.constraints.NotNull; + +import com.commercetools.api.models.common.Reference; +import com.fasterxml.jackson.annotation.*; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.utils.Generated; + +/** + *

Reference to a CustomerToken for email verification.

+ * + *
+ * Example to create an instance using the builder pattern + *
+ *

+ *     CustomerEmailTokenReference customerEmailTokenReference = CustomerEmailTokenReference.builder()
+ *             .id("{id}")
+ *             .build()
+ * 
+ *
+ */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +@JsonDeserialize(as = CustomerEmailTokenReferenceImpl.class) +public interface CustomerEmailTokenReference extends Reference { + + /** + * discriminator value for CustomerEmailTokenReference + */ + String CUSTOMER_EMAIL_TOKEN = "customer-email-token"; + + /** + *

Unique identifier of the referenced CustomerToken.

+ * @return id + */ + @NotNull + @JsonProperty("id") + public String getId(); + + /** + *

Unique identifier of the referenced CustomerToken.

+ * @param id value to be set + */ + + public void setId(final String id); + + /** + * factory method + * @return instance of CustomerEmailTokenReference + */ + public static CustomerEmailTokenReference of() { + return new CustomerEmailTokenReferenceImpl(); + } + + /** + * factory method to create a shallow copy CustomerEmailTokenReference + * @param template instance to be copied + * @return copy instance + */ + public static CustomerEmailTokenReference of(final CustomerEmailTokenReference template) { + CustomerEmailTokenReferenceImpl instance = new CustomerEmailTokenReferenceImpl(); + instance.setId(template.getId()); + return instance; + } + + /** + * factory method to create a deep copy of CustomerEmailTokenReference + * @param template instance to be copied + * @return copy instance + */ + @Nullable + public static CustomerEmailTokenReference deepCopy(@Nullable final CustomerEmailTokenReference template) { + if (template == null) { + return null; + } + CustomerEmailTokenReferenceImpl instance = new CustomerEmailTokenReferenceImpl(); + instance.setId(template.getId()); + return instance; + } + + /** + * builder factory method for CustomerEmailTokenReference + * @return builder + */ + public static CustomerEmailTokenReferenceBuilder builder() { + return CustomerEmailTokenReferenceBuilder.of(); + } + + /** + * create builder for CustomerEmailTokenReference instance + * @param template instance with prefilled values for the builder + * @return builder + */ + public static CustomerEmailTokenReferenceBuilder builder(final CustomerEmailTokenReference template) { + return CustomerEmailTokenReferenceBuilder.of(template); + } + + /** + * accessor map function + * @param mapped type + * @param helper function to map the object + * @return mapped value + */ + default T withCustomerEmailTokenReference(Function helper) { + return helper.apply(this); + } + + /** + * gives a TypeReference for usage with Jackson DataBind + * @return TypeReference + */ + public static com.fasterxml.jackson.core.type.TypeReference typeReference() { + return new com.fasterxml.jackson.core.type.TypeReference() { + @Override + public String toString() { + return "TypeReference"; + } + }; + } +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerEmailTokenReferenceBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerEmailTokenReferenceBuilder.java new file mode 100644 index 00000000000..a665ef9b66f --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerEmailTokenReferenceBuilder.java @@ -0,0 +1,82 @@ + +package com.commercetools.api.models.customer; + +import java.util.*; + +import io.vrap.rmf.base.client.Builder; +import io.vrap.rmf.base.client.utils.Generated; + +/** + * CustomerEmailTokenReferenceBuilder + *
+ * Example to create an instance using the builder pattern + *
+ *

+ *     CustomerEmailTokenReference customerEmailTokenReference = CustomerEmailTokenReference.builder()
+ *             .id("{id}")
+ *             .build()
+ * 
+ *
+ */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class CustomerEmailTokenReferenceBuilder implements Builder { + + private String id; + + /** + *

Unique identifier of the referenced CustomerToken.

+ * @param id value to be set + * @return Builder + */ + + public CustomerEmailTokenReferenceBuilder id(final String id) { + this.id = id; + return this; + } + + /** + *

Unique identifier of the referenced CustomerToken.

+ * @return id + */ + + public String getId() { + return this.id; + } + + /** + * builds CustomerEmailTokenReference with checking for non-null required values + * @return CustomerEmailTokenReference + */ + public CustomerEmailTokenReference build() { + Objects.requireNonNull(id, CustomerEmailTokenReference.class + ": id is missing"); + return new CustomerEmailTokenReferenceImpl(id); + } + + /** + * builds CustomerEmailTokenReference without checking for non-null required values + * @return CustomerEmailTokenReference + */ + public CustomerEmailTokenReference buildUnchecked() { + return new CustomerEmailTokenReferenceImpl(id); + } + + /** + * factory method for an instance of CustomerEmailTokenReferenceBuilder + * @return builder + */ + public static CustomerEmailTokenReferenceBuilder of() { + return new CustomerEmailTokenReferenceBuilder(); + } + + /** + * create builder for CustomerEmailTokenReference instance + * @param template instance with prefilled values for the builder + * @return builder + */ + public static CustomerEmailTokenReferenceBuilder of(final CustomerEmailTokenReference template) { + CustomerEmailTokenReferenceBuilder builder = new CustomerEmailTokenReferenceBuilder(); + builder.id = template.getId(); + return builder; + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerEmailTokenReferenceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerEmailTokenReferenceImpl.java new file mode 100644 index 00000000000..e9b4198691c --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerEmailTokenReferenceImpl.java @@ -0,0 +1,86 @@ + +package com.commercetools.api.models.customer; + +import java.time.*; +import java.util.*; + +import com.commercetools.api.models.common.ReferenceTypeId; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.ModelBase; +import io.vrap.rmf.base.client.utils.Generated; + +import org.apache.commons.lang3.builder.EqualsBuilder; +import org.apache.commons.lang3.builder.HashCodeBuilder; + +/** + *

Reference to a CustomerToken for email verification.

+ */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class CustomerEmailTokenReferenceImpl implements CustomerEmailTokenReference, ModelBase { + + private com.commercetools.api.models.common.ReferenceTypeId typeId; + + private String id; + + /** + * create instance with all properties + */ + @JsonCreator + CustomerEmailTokenReferenceImpl(@JsonProperty("id") final String id) { + this.id = id; + this.typeId = ReferenceTypeId.findEnum("customer-email-token"); + } + + /** + * create empty instance + */ + public CustomerEmailTokenReferenceImpl() { + this.typeId = ReferenceTypeId.findEnum("customer-email-token"); + } + + /** + *

Type of referenced resource.

+ */ + + public com.commercetools.api.models.common.ReferenceTypeId getTypeId() { + return this.typeId; + } + + /** + *

Unique identifier of the referenced CustomerToken.

+ */ + + public String getId() { + return this.id; + } + + public void setId(final String id) { + this.id = id; + } + + @Override + public boolean equals(Object o) { + if (this == o) + return true; + + if (o == null || getClass() != o.getClass()) + return false; + + CustomerEmailTokenReferenceImpl that = (CustomerEmailTokenReferenceImpl) o; + + return new EqualsBuilder().append(typeId, that.typeId) + .append(id, that.id) + .append(typeId, that.typeId) + .append(id, that.id) + .isEquals(); + } + + @Override + public int hashCode() { + return new HashCodeBuilder(17, 37).append(typeId).append(id).toHashCode(); + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerPasswordTokenReference.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerPasswordTokenReference.java new file mode 100644 index 00000000000..e6b959c52f8 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerPasswordTokenReference.java @@ -0,0 +1,127 @@ + +package com.commercetools.api.models.customer; + +import java.time.*; +import java.util.*; +import java.util.function.Function; + +import javax.annotation.Nullable; +import javax.validation.constraints.NotNull; + +import com.commercetools.api.models.common.Reference; +import com.fasterxml.jackson.annotation.*; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.utils.Generated; + +/** + *

Reference to a CustomerToken for password reset.

+ * + *
+ * Example to create an instance using the builder pattern + *
+ *

+ *     CustomerPasswordTokenReference customerPasswordTokenReference = CustomerPasswordTokenReference.builder()
+ *             .id("{id}")
+ *             .build()
+ * 
+ *
+ */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +@JsonDeserialize(as = CustomerPasswordTokenReferenceImpl.class) +public interface CustomerPasswordTokenReference extends Reference { + + /** + * discriminator value for CustomerPasswordTokenReference + */ + String CUSTOMER_PASSWORD_TOKEN = "customer-password-token"; + + /** + *

Unique identifier of the referenced CustomerToken.

+ * @return id + */ + @NotNull + @JsonProperty("id") + public String getId(); + + /** + *

Unique identifier of the referenced CustomerToken.

+ * @param id value to be set + */ + + public void setId(final String id); + + /** + * factory method + * @return instance of CustomerPasswordTokenReference + */ + public static CustomerPasswordTokenReference of() { + return new CustomerPasswordTokenReferenceImpl(); + } + + /** + * factory method to create a shallow copy CustomerPasswordTokenReference + * @param template instance to be copied + * @return copy instance + */ + public static CustomerPasswordTokenReference of(final CustomerPasswordTokenReference template) { + CustomerPasswordTokenReferenceImpl instance = new CustomerPasswordTokenReferenceImpl(); + instance.setId(template.getId()); + return instance; + } + + /** + * factory method to create a deep copy of CustomerPasswordTokenReference + * @param template instance to be copied + * @return copy instance + */ + @Nullable + public static CustomerPasswordTokenReference deepCopy(@Nullable final CustomerPasswordTokenReference template) { + if (template == null) { + return null; + } + CustomerPasswordTokenReferenceImpl instance = new CustomerPasswordTokenReferenceImpl(); + instance.setId(template.getId()); + return instance; + } + + /** + * builder factory method for CustomerPasswordTokenReference + * @return builder + */ + public static CustomerPasswordTokenReferenceBuilder builder() { + return CustomerPasswordTokenReferenceBuilder.of(); + } + + /** + * create builder for CustomerPasswordTokenReference instance + * @param template instance with prefilled values for the builder + * @return builder + */ + public static CustomerPasswordTokenReferenceBuilder builder(final CustomerPasswordTokenReference template) { + return CustomerPasswordTokenReferenceBuilder.of(template); + } + + /** + * accessor map function + * @param mapped type + * @param helper function to map the object + * @return mapped value + */ + default T withCustomerPasswordTokenReference(Function helper) { + return helper.apply(this); + } + + /** + * gives a TypeReference for usage with Jackson DataBind + * @return TypeReference + */ + public static com.fasterxml.jackson.core.type.TypeReference typeReference() { + return new com.fasterxml.jackson.core.type.TypeReference() { + @Override + public String toString() { + return "TypeReference"; + } + }; + } +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerPasswordTokenReferenceBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerPasswordTokenReferenceBuilder.java new file mode 100644 index 00000000000..4924df59d30 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerPasswordTokenReferenceBuilder.java @@ -0,0 +1,82 @@ + +package com.commercetools.api.models.customer; + +import java.util.*; + +import io.vrap.rmf.base.client.Builder; +import io.vrap.rmf.base.client.utils.Generated; + +/** + * CustomerPasswordTokenReferenceBuilder + *
+ * Example to create an instance using the builder pattern + *
+ *

+ *     CustomerPasswordTokenReference customerPasswordTokenReference = CustomerPasswordTokenReference.builder()
+ *             .id("{id}")
+ *             .build()
+ * 
+ *
+ */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class CustomerPasswordTokenReferenceBuilder implements Builder { + + private String id; + + /** + *

Unique identifier of the referenced CustomerToken.

+ * @param id value to be set + * @return Builder + */ + + public CustomerPasswordTokenReferenceBuilder id(final String id) { + this.id = id; + return this; + } + + /** + *

Unique identifier of the referenced CustomerToken.

+ * @return id + */ + + public String getId() { + return this.id; + } + + /** + * builds CustomerPasswordTokenReference with checking for non-null required values + * @return CustomerPasswordTokenReference + */ + public CustomerPasswordTokenReference build() { + Objects.requireNonNull(id, CustomerPasswordTokenReference.class + ": id is missing"); + return new CustomerPasswordTokenReferenceImpl(id); + } + + /** + * builds CustomerPasswordTokenReference without checking for non-null required values + * @return CustomerPasswordTokenReference + */ + public CustomerPasswordTokenReference buildUnchecked() { + return new CustomerPasswordTokenReferenceImpl(id); + } + + /** + * factory method for an instance of CustomerPasswordTokenReferenceBuilder + * @return builder + */ + public static CustomerPasswordTokenReferenceBuilder of() { + return new CustomerPasswordTokenReferenceBuilder(); + } + + /** + * create builder for CustomerPasswordTokenReference instance + * @param template instance with prefilled values for the builder + * @return builder + */ + public static CustomerPasswordTokenReferenceBuilder of(final CustomerPasswordTokenReference template) { + CustomerPasswordTokenReferenceBuilder builder = new CustomerPasswordTokenReferenceBuilder(); + builder.id = template.getId(); + return builder; + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerPasswordTokenReferenceImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerPasswordTokenReferenceImpl.java new file mode 100644 index 00000000000..66436949b03 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerPasswordTokenReferenceImpl.java @@ -0,0 +1,86 @@ + +package com.commercetools.api.models.customer; + +import java.time.*; +import java.util.*; + +import com.commercetools.api.models.common.ReferenceTypeId; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.annotation.*; + +import io.vrap.rmf.base.client.ModelBase; +import io.vrap.rmf.base.client.utils.Generated; + +import org.apache.commons.lang3.builder.EqualsBuilder; +import org.apache.commons.lang3.builder.HashCodeBuilder; + +/** + *

Reference to a CustomerToken for password reset.

+ */ +@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") +public class CustomerPasswordTokenReferenceImpl implements CustomerPasswordTokenReference, ModelBase { + + private com.commercetools.api.models.common.ReferenceTypeId typeId; + + private String id; + + /** + * create instance with all properties + */ + @JsonCreator + CustomerPasswordTokenReferenceImpl(@JsonProperty("id") final String id) { + this.id = id; + this.typeId = ReferenceTypeId.findEnum("customer-password-token"); + } + + /** + * create empty instance + */ + public CustomerPasswordTokenReferenceImpl() { + this.typeId = ReferenceTypeId.findEnum("customer-password-token"); + } + + /** + *

Type of referenced resource.

+ */ + + public com.commercetools.api.models.common.ReferenceTypeId getTypeId() { + return this.typeId; + } + + /** + *

Unique identifier of the referenced CustomerToken.

+ */ + + public String getId() { + return this.id; + } + + public void setId(final String id) { + this.id = id; + } + + @Override + public boolean equals(Object o) { + if (this == o) + return true; + + if (o == null || getClass() != o.getClass()) + return false; + + CustomerPasswordTokenReferenceImpl that = (CustomerPasswordTokenReferenceImpl) o; + + return new EqualsBuilder().append(typeId, that.typeId) + .append(id, that.id) + .append(typeId, that.typeId) + .append(id, that.id) + .isEquals(); + } + + @Override + public int hashCode() { + return new HashCodeBuilder(17, 37).append(typeId).append(id).toHashCode(); + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerToken.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerToken.java index a1372f5f72d..cb77d3cfbb4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerToken.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerToken.java @@ -23,10 +23,10 @@ *

  *     CustomerToken customerToken = CustomerToken.builder()
  *             .id("{id}")
- *             .createdAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
  *             .customerId("{customerId}")
- *             .expiresAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
  *             .value("{value}")
+ *             .expiresAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
+ *             .createdAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
  *             .build()
  * 
* @@ -43,22 +43,6 @@ public interface CustomerToken { @JsonProperty("id") public String getId(); - /** - *

Date and time (UTC) the token was initially created.

- * @return createdAt - */ - @NotNull - @JsonProperty("createdAt") - public ZonedDateTime getCreatedAt(); - - /** - *

When the token is created, lastModifiedAt is set to createdAt.

- * @return lastModifiedAt - */ - - @JsonProperty("lastModifiedAt") - public ZonedDateTime getLastModifiedAt(); - /** *

The id of the Customer.

* @return customerId @@ -67,6 +51,14 @@ public interface CustomerToken { @JsonProperty("customerId") public String getCustomerId(); + /** + *

Value of the token.

+ * @return value + */ + @NotNull + @JsonProperty("value") + public String getValue(); + /** *

Date and time (UTC) the token expires.

* @return expiresAt @@ -76,40 +68,41 @@ public interface CustomerToken { public ZonedDateTime getExpiresAt(); /** - *

Value of the token.

- * @return value + *

Date and time (UTC) the token was initially created.

+ * @return createdAt */ @NotNull - @JsonProperty("value") - public String getValue(); + @JsonProperty("createdAt") + public ZonedDateTime getCreatedAt(); /** - *

Unique identifier of the token.

- * @param id value to be set + *

When the token is created, lastModifiedAt is set to createdAt.

+ * @return lastModifiedAt */ - public void setId(final String id); + @JsonProperty("lastModifiedAt") + public ZonedDateTime getLastModifiedAt(); /** - *

Date and time (UTC) the token was initially created.

- * @param createdAt value to be set + *

Unique identifier of the token.

+ * @param id value to be set */ - public void setCreatedAt(final ZonedDateTime createdAt); + public void setId(final String id); /** - *

When the token is created, lastModifiedAt is set to createdAt.

- * @param lastModifiedAt value to be set + *

The id of the Customer.

+ * @param customerId value to be set */ - public void setLastModifiedAt(final ZonedDateTime lastModifiedAt); + public void setCustomerId(final String customerId); /** - *

The id of the Customer.

- * @param customerId value to be set + *

Value of the token.

+ * @param value value to be set */ - public void setCustomerId(final String customerId); + public void setValue(final String value); /** *

Date and time (UTC) the token expires.

@@ -119,11 +112,18 @@ public interface CustomerToken { public void setExpiresAt(final ZonedDateTime expiresAt); /** - *

Value of the token.

- * @param value value to be set + *

Date and time (UTC) the token was initially created.

+ * @param createdAt value to be set */ - public void setValue(final String value); + public void setCreatedAt(final ZonedDateTime createdAt); + + /** + *

When the token is created, lastModifiedAt is set to createdAt.

+ * @param lastModifiedAt value to be set + */ + + public void setLastModifiedAt(final ZonedDateTime lastModifiedAt); /** * factory method @@ -141,11 +141,11 @@ public static CustomerToken of() { public static CustomerToken of(final CustomerToken template) { CustomerTokenImpl instance = new CustomerTokenImpl(); instance.setId(template.getId()); - instance.setCreatedAt(template.getCreatedAt()); - instance.setLastModifiedAt(template.getLastModifiedAt()); instance.setCustomerId(template.getCustomerId()); - instance.setExpiresAt(template.getExpiresAt()); instance.setValue(template.getValue()); + instance.setExpiresAt(template.getExpiresAt()); + instance.setCreatedAt(template.getCreatedAt()); + instance.setLastModifiedAt(template.getLastModifiedAt()); return instance; } @@ -161,11 +161,11 @@ public static CustomerToken deepCopy(@Nullable final CustomerToken template) { } CustomerTokenImpl instance = new CustomerTokenImpl(); instance.setId(template.getId()); - instance.setCreatedAt(template.getCreatedAt()); - instance.setLastModifiedAt(template.getLastModifiedAt()); instance.setCustomerId(template.getCustomerId()); - instance.setExpiresAt(template.getExpiresAt()); instance.setValue(template.getValue()); + instance.setExpiresAt(template.getExpiresAt()); + instance.setCreatedAt(template.getCreatedAt()); + instance.setLastModifiedAt(template.getLastModifiedAt()); return instance; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerTokenBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerTokenBuilder.java index 0d4b11a78e2..146bb9d3fe5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerTokenBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerTokenBuilder.java @@ -16,10 +16,10 @@ *

  *     CustomerToken customerToken = CustomerToken.builder()
  *             .id("{id}")
- *             .createdAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
  *             .customerId("{customerId}")
- *             .expiresAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
  *             .value("{value}")
+ *             .expiresAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
+ *             .createdAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
  *             .build()
  * 
* @@ -29,16 +29,16 @@ public class CustomerTokenBuilder implements Builder { private String id; - private java.time.ZonedDateTime createdAt; - - @Nullable - private java.time.ZonedDateTime lastModifiedAt; - private String customerId; + private String value; + private java.time.ZonedDateTime expiresAt; - private String value; + private java.time.ZonedDateTime createdAt; + + @Nullable + private java.time.ZonedDateTime lastModifiedAt; /** *

Unique identifier of the token.

@@ -52,57 +52,57 @@ public CustomerTokenBuilder id(final String id) { } /** - *

Date and time (UTC) the token was initially created.

- * @param createdAt value to be set + *

The id of the Customer.

+ * @param customerId value to be set * @return Builder */ - public CustomerTokenBuilder createdAt(final java.time.ZonedDateTime createdAt) { - this.createdAt = createdAt; + public CustomerTokenBuilder customerId(final String customerId) { + this.customerId = customerId; return this; } /** - *

When the token is created, lastModifiedAt is set to createdAt.

- * @param lastModifiedAt value to be set + *

Value of the token.

+ * @param value value to be set * @return Builder */ - public CustomerTokenBuilder lastModifiedAt(@Nullable final java.time.ZonedDateTime lastModifiedAt) { - this.lastModifiedAt = lastModifiedAt; + public CustomerTokenBuilder value(final String value) { + this.value = value; return this; } /** - *

The id of the Customer.

- * @param customerId value to be set + *

Date and time (UTC) the token expires.

+ * @param expiresAt value to be set * @return Builder */ - public CustomerTokenBuilder customerId(final String customerId) { - this.customerId = customerId; + public CustomerTokenBuilder expiresAt(final java.time.ZonedDateTime expiresAt) { + this.expiresAt = expiresAt; return this; } /** - *

Date and time (UTC) the token expires.

- * @param expiresAt value to be set + *

Date and time (UTC) the token was initially created.

+ * @param createdAt value to be set * @return Builder */ - public CustomerTokenBuilder expiresAt(final java.time.ZonedDateTime expiresAt) { - this.expiresAt = expiresAt; + public CustomerTokenBuilder createdAt(final java.time.ZonedDateTime createdAt) { + this.createdAt = createdAt; return this; } /** - *

Value of the token.

- * @param value value to be set + *

When the token is created, lastModifiedAt is set to createdAt.

+ * @param lastModifiedAt value to be set * @return Builder */ - public CustomerTokenBuilder value(final String value) { - this.value = value; + public CustomerTokenBuilder lastModifiedAt(@Nullable final java.time.ZonedDateTime lastModifiedAt) { + this.lastModifiedAt = lastModifiedAt; return this; } @@ -116,49 +116,49 @@ public String getId() { } /** - *

Date and time (UTC) the token was initially created.

- * @return createdAt + *

The id of the Customer.

+ * @return customerId */ - public java.time.ZonedDateTime getCreatedAt() { - return this.createdAt; + public String getCustomerId() { + return this.customerId; } /** - *

When the token is created, lastModifiedAt is set to createdAt.

- * @return lastModifiedAt + *

Value of the token.

+ * @return value */ - @Nullable - public java.time.ZonedDateTime getLastModifiedAt() { - return this.lastModifiedAt; + public String getValue() { + return this.value; } /** - *

The id of the Customer.

- * @return customerId + *

Date and time (UTC) the token expires.

+ * @return expiresAt */ - public String getCustomerId() { - return this.customerId; + public java.time.ZonedDateTime getExpiresAt() { + return this.expiresAt; } /** - *

Date and time (UTC) the token expires.

- * @return expiresAt + *

Date and time (UTC) the token was initially created.

+ * @return createdAt */ - public java.time.ZonedDateTime getExpiresAt() { - return this.expiresAt; + public java.time.ZonedDateTime getCreatedAt() { + return this.createdAt; } /** - *

Value of the token.

- * @return value + *

When the token is created, lastModifiedAt is set to createdAt.

+ * @return lastModifiedAt */ - public String getValue() { - return this.value; + @Nullable + public java.time.ZonedDateTime getLastModifiedAt() { + return this.lastModifiedAt; } /** @@ -167,11 +167,11 @@ public String getValue() { */ public CustomerToken build() { Objects.requireNonNull(id, CustomerToken.class + ": id is missing"); - Objects.requireNonNull(createdAt, CustomerToken.class + ": createdAt is missing"); Objects.requireNonNull(customerId, CustomerToken.class + ": customerId is missing"); - Objects.requireNonNull(expiresAt, CustomerToken.class + ": expiresAt is missing"); Objects.requireNonNull(value, CustomerToken.class + ": value is missing"); - return new CustomerTokenImpl(id, createdAt, lastModifiedAt, customerId, expiresAt, value); + Objects.requireNonNull(expiresAt, CustomerToken.class + ": expiresAt is missing"); + Objects.requireNonNull(createdAt, CustomerToken.class + ": createdAt is missing"); + return new CustomerTokenImpl(id, customerId, value, expiresAt, createdAt, lastModifiedAt); } /** @@ -179,7 +179,7 @@ public CustomerToken build() { * @return CustomerToken */ public CustomerToken buildUnchecked() { - return new CustomerTokenImpl(id, createdAt, lastModifiedAt, customerId, expiresAt, value); + return new CustomerTokenImpl(id, customerId, value, expiresAt, createdAt, lastModifiedAt); } /** @@ -198,11 +198,11 @@ public static CustomerTokenBuilder of() { public static CustomerTokenBuilder of(final CustomerToken template) { CustomerTokenBuilder builder = new CustomerTokenBuilder(); builder.id = template.getId(); - builder.createdAt = template.getCreatedAt(); - builder.lastModifiedAt = template.getLastModifiedAt(); builder.customerId = template.getCustomerId(); - builder.expiresAt = template.getExpiresAt(); builder.value = template.getValue(); + builder.expiresAt = template.getExpiresAt(); + builder.createdAt = template.getCreatedAt(); + builder.lastModifiedAt = template.getLastModifiedAt(); return builder; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerTokenImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerTokenImpl.java index 690d97aabcf..04799de2ccc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerTokenImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/customer/CustomerTokenImpl.java @@ -22,32 +22,31 @@ public class CustomerTokenImpl implements CustomerToken, ModelBase { private String id; - private java.time.ZonedDateTime createdAt; - - private java.time.ZonedDateTime lastModifiedAt; - private String customerId; + private String value; + private java.time.ZonedDateTime expiresAt; - private String value; + private java.time.ZonedDateTime createdAt; + + private java.time.ZonedDateTime lastModifiedAt; /** * create instance with all properties */ @JsonCreator - CustomerTokenImpl(@JsonProperty("id") final String id, - @JsonProperty("createdAt") final java.time.ZonedDateTime createdAt, - @JsonProperty("lastModifiedAt") final java.time.ZonedDateTime lastModifiedAt, - @JsonProperty("customerId") final String customerId, + CustomerTokenImpl(@JsonProperty("id") final String id, @JsonProperty("customerId") final String customerId, + @JsonProperty("value") final String value, @JsonProperty("expiresAt") final java.time.ZonedDateTime expiresAt, - @JsonProperty("value") final String value) { + @JsonProperty("createdAt") final java.time.ZonedDateTime createdAt, + @JsonProperty("lastModifiedAt") final java.time.ZonedDateTime lastModifiedAt) { this.id = id; - this.createdAt = createdAt; - this.lastModifiedAt = lastModifiedAt; this.customerId = customerId; - this.expiresAt = expiresAt; this.value = value; + this.expiresAt = expiresAt; + this.createdAt = createdAt; + this.lastModifiedAt = lastModifiedAt; } /** @@ -65,67 +64,67 @@ public String getId() { } /** - *

Date and time (UTC) the token was initially created.

+ *

The id of the Customer.

*/ - public java.time.ZonedDateTime getCreatedAt() { - return this.createdAt; + public String getCustomerId() { + return this.customerId; } /** - *

When the token is created, lastModifiedAt is set to createdAt.

+ *

Value of the token.

*/ - public java.time.ZonedDateTime getLastModifiedAt() { - return this.lastModifiedAt; + public String getValue() { + return this.value; } /** - *

The id of the Customer.

+ *

Date and time (UTC) the token expires.

*/ - public String getCustomerId() { - return this.customerId; + public java.time.ZonedDateTime getExpiresAt() { + return this.expiresAt; } /** - *

Date and time (UTC) the token expires.

+ *

Date and time (UTC) the token was initially created.

*/ - public java.time.ZonedDateTime getExpiresAt() { - return this.expiresAt; + public java.time.ZonedDateTime getCreatedAt() { + return this.createdAt; } /** - *

Value of the token.

+ *

When the token is created, lastModifiedAt is set to createdAt.

*/ - public String getValue() { - return this.value; + public java.time.ZonedDateTime getLastModifiedAt() { + return this.lastModifiedAt; } public void setId(final String id) { this.id = id; } - public void setCreatedAt(final java.time.ZonedDateTime createdAt) { - this.createdAt = createdAt; - } - - public void setLastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { - this.lastModifiedAt = lastModifiedAt; - } - public void setCustomerId(final String customerId) { this.customerId = customerId; } + public void setValue(final String value) { + this.value = value; + } + public void setExpiresAt(final java.time.ZonedDateTime expiresAt) { this.expiresAt = expiresAt; } - public void setValue(final String value) { - this.value = value; + public void setCreatedAt(final java.time.ZonedDateTime createdAt) { + this.createdAt = createdAt; + } + + public void setLastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { + this.lastModifiedAt = lastModifiedAt; } @Override @@ -139,28 +138,28 @@ public boolean equals(Object o) { CustomerTokenImpl that = (CustomerTokenImpl) o; return new EqualsBuilder().append(id, that.id) - .append(createdAt, that.createdAt) - .append(lastModifiedAt, that.lastModifiedAt) .append(customerId, that.customerId) - .append(expiresAt, that.expiresAt) .append(value, that.value) - .append(id, that.id) + .append(expiresAt, that.expiresAt) .append(createdAt, that.createdAt) .append(lastModifiedAt, that.lastModifiedAt) + .append(id, that.id) .append(customerId, that.customerId) - .append(expiresAt, that.expiresAt) .append(value, that.value) + .append(expiresAt, that.expiresAt) + .append(createdAt, that.createdAt) + .append(lastModifiedAt, that.lastModifiedAt) .isEquals(); } @Override public int hashCode() { return new HashCodeBuilder(17, 37).append(id) - .append(createdAt) - .append(lastModifiedAt) .append(customerId) - .append(expiresAt) .append(value) + .append(expiresAt) + .append(createdAt) + .append(lastModifiedAt) .toHashCode(); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailTokenCreatedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailTokenCreatedMessage.java index 660439cf968..aa72cf19620 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailTokenCreatedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailTokenCreatedMessage.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - *

Generated after a successful Create email token for Customer request.

+ *

Generated after a successful Create email token for Customer request. The resource property of the Message is a CustomerEmailTokenReference.

* *
* Example to create an instance using the builder pattern diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailTokenCreatedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailTokenCreatedMessageImpl.java index b3c8de2445a..37347b794f4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailTokenCreatedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailTokenCreatedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Generated after a successful Create email token for Customer request.

+ *

Generated after a successful Create email token for Customer request. The resource property of the Message is a CustomerEmailTokenReference.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerEmailTokenCreatedMessageImpl implements CustomerEmailTokenCreatedMessage, ModelBase { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailTokenCreatedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailTokenCreatedMessagePayload.java index 90f1d011d6e..1192eaf210b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailTokenCreatedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailTokenCreatedMessagePayload.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - *

Generated after a successful Create email token for Customer request.

+ *

Generated after a successful Create email token for Customer request. The resource property of the Message is a CustomerEmailTokenReference.

* *
* Example to create an instance using the builder pattern diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailTokenCreatedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailTokenCreatedMessagePayloadImpl.java index ef54a03e368..61e1b676722 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailTokenCreatedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerEmailTokenCreatedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Generated after a successful Create email token for Customer request.

+ *

Generated after a successful Create email token for Customer request. The resource property of the Message is a CustomerEmailTokenReference.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerEmailTokenCreatedMessagePayloadImpl implements CustomerEmailTokenCreatedMessagePayload, ModelBase { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordTokenCreatedMessage.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordTokenCreatedMessage.java index 7f22d33c36c..f92d0a9ab3f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordTokenCreatedMessage.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordTokenCreatedMessage.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - *

Generated after a successful Create password reset token for Customer request.

+ *

Generated after a successful Create password reset token for Customer request. The resource property of the Message is a CustomerPasswordTokenReference.

* *
* Example to create an instance using the builder pattern diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordTokenCreatedMessageImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordTokenCreatedMessageImpl.java index 472cc68eead..c9aabc5d4ee 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordTokenCreatedMessageImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordTokenCreatedMessageImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Generated after a successful Create password reset token for Customer request.

+ *

Generated after a successful Create password reset token for Customer request. The resource property of the Message is a CustomerPasswordTokenReference.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerPasswordTokenCreatedMessageImpl implements CustomerPasswordTokenCreatedMessage, ModelBase { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordTokenCreatedMessagePayload.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordTokenCreatedMessagePayload.java index 5f5dbeba7fd..d9a33535ddb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordTokenCreatedMessagePayload.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordTokenCreatedMessagePayload.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - *

Generated after a successful Create password reset token for Customer request.

+ *

Generated after a successful Create password reset token for Customer request. The resource property of the Message is a CustomerPasswordTokenReference.

* *
* Example to create an instance using the builder pattern diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordTokenCreatedMessagePayloadImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordTokenCreatedMessagePayloadImpl.java index caccd1fa1ab..2326d36b79a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordTokenCreatedMessagePayloadImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/CustomerPasswordTokenCreatedMessagePayloadImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - *

Generated after a successful Create password reset token for Customer request.

+ *

Generated after a successful Create password reset token for Customer request. The resource property of the Message is a CustomerPasswordTokenReference.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class CustomerPasswordTokenCreatedMessagePayloadImpl diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/MessageSubscriptionResourceTypeId.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/MessageSubscriptionResourceTypeId.java index c2adc9a508c..1b353bd8460 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/MessageSubscriptionResourceTypeId.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/MessageSubscriptionResourceTypeId.java @@ -17,12 +17,12 @@ public interface MessageSubscriptionResourceTypeId extends JsonEnum { /** -

Messages related to Associate Roles.

+

Messages related to AssociateRoles.

*/ MessageSubscriptionResourceTypeId ASSOCIATE_ROLE = MessageSubscriptionResourceTypeIdEnum.ASSOCIATE_ROLE; /** -

Messages related to Business Units.

+

Messages related to BusinessUnits.

*/ MessageSubscriptionResourceTypeId BUSINESS_UNIT = MessageSubscriptionResourceTypeIdEnum.BUSINESS_UNIT; @@ -36,6 +36,21 @@ public interface MessageSubscriptionResourceTypeId extends JsonEnum { */ MessageSubscriptionResourceTypeId CUSTOMER = MessageSubscriptionResourceTypeIdEnum.CUSTOMER; + /** +

Messages related to CustomerTokens for email verification.

+ + */ + MessageSubscriptionResourceTypeId CUSTOMER_EMAIL_TOKEN = MessageSubscriptionResourceTypeIdEnum.CUSTOMER_EMAIL_TOKEN; + /** +

Messages related to CustomerGroups.

+ + */ + MessageSubscriptionResourceTypeId CUSTOMER_GROUP = MessageSubscriptionResourceTypeIdEnum.CUSTOMER_GROUP; + /** +

Messages related to CustomerTokens for password reset.

+ + */ + MessageSubscriptionResourceTypeId CUSTOMER_PASSWORD_TOKEN = MessageSubscriptionResourceTypeIdEnum.CUSTOMER_PASSWORD_TOKEN; /**

Messages related to InventoryEntries.

@@ -116,6 +131,21 @@ enum MessageSubscriptionResourceTypeIdEnum implements MessageSubscriptionResourc */ CUSTOMER("customer"), + /** + * customer-email-token + */ + CUSTOMER_EMAIL_TOKEN("customer-email-token"), + + /** + * customer-group + */ + CUSTOMER_GROUP("customer-group"), + + /** + * customer-password-token + */ + CUSTOMER_PASSWORD_TOKEN("customer-password-token"), + /** * inventory-entry */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-predicates-generated/com/commercetools/api/predicates/query/common/ReferenceQueryBuilderDsl.java b/commercetools/commercetools-sdk-java-api/src/main/java-predicates-generated/com/commercetools/api/predicates/query/common/ReferenceQueryBuilderDsl.java index 5cf900bbef5..cd777ce7a12 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-predicates-generated/com/commercetools/api/predicates/query/common/ReferenceQueryBuilderDsl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-predicates-generated/com/commercetools/api/predicates/query/common/ReferenceQueryBuilderDsl.java @@ -81,6 +81,13 @@ public CombinationQueryPredicate asKeyValueDocument( ReferenceQueryBuilderDsl::of); } + public CombinationQueryPredicate asCustomerEmailToken( + Function> fn) { + return new CombinationQueryPredicate<>( + fn.apply(com.commercetools.api.predicates.query.customer.CustomerEmailTokenReferenceQueryBuilderDsl.of()), + ReferenceQueryBuilderDsl::of); + } + public CombinationQueryPredicate asCustomerGroup( Function> fn) { return new CombinationQueryPredicate<>( @@ -88,6 +95,14 @@ public CombinationQueryPredicate asCustomerGroup( ReferenceQueryBuilderDsl::of); } + public CombinationQueryPredicate asCustomerPasswordToken( + Function> fn) { + return new CombinationQueryPredicate<>( + fn.apply( + com.commercetools.api.predicates.query.customer.CustomerPasswordTokenReferenceQueryBuilderDsl.of()), + ReferenceQueryBuilderDsl::of); + } + public CombinationQueryPredicate asCustomer( Function> fn) { return new CombinationQueryPredicate<>( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-predicates-generated/com/commercetools/api/predicates/query/customer/CustomerEmailTokenReferenceQueryBuilderDsl.java b/commercetools/commercetools-sdk-java-api/src/main/java-predicates-generated/com/commercetools/api/predicates/query/customer/CustomerEmailTokenReferenceQueryBuilderDsl.java new file mode 100644 index 00000000000..b017f8d9340 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-predicates-generated/com/commercetools/api/predicates/query/customer/CustomerEmailTokenReferenceQueryBuilderDsl.java @@ -0,0 +1,25 @@ + +package com.commercetools.api.predicates.query.customer; + +import com.commercetools.api.predicates.query.*; + +public class CustomerEmailTokenReferenceQueryBuilderDsl { + public CustomerEmailTokenReferenceQueryBuilderDsl() { + } + + public static CustomerEmailTokenReferenceQueryBuilderDsl of() { + return new CustomerEmailTokenReferenceQueryBuilderDsl(); + } + + public StringComparisonPredicateBuilder typeId() { + return new StringComparisonPredicateBuilder<>( + BinaryQueryPredicate.of().left(new ConstantQueryPredicate("typeId")), + p -> new CombinationQueryPredicate<>(p, CustomerEmailTokenReferenceQueryBuilderDsl::of)); + } + + public StringComparisonPredicateBuilder id() { + return new StringComparisonPredicateBuilder<>(BinaryQueryPredicate.of().left(new ConstantQueryPredicate("id")), + p -> new CombinationQueryPredicate<>(p, CustomerEmailTokenReferenceQueryBuilderDsl::of)); + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-predicates-generated/com/commercetools/api/predicates/query/customer/CustomerPasswordTokenReferenceQueryBuilderDsl.java b/commercetools/commercetools-sdk-java-api/src/main/java-predicates-generated/com/commercetools/api/predicates/query/customer/CustomerPasswordTokenReferenceQueryBuilderDsl.java new file mode 100644 index 00000000000..3c7540ceda5 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/main/java-predicates-generated/com/commercetools/api/predicates/query/customer/CustomerPasswordTokenReferenceQueryBuilderDsl.java @@ -0,0 +1,25 @@ + +package com.commercetools.api.predicates.query.customer; + +import com.commercetools.api.predicates.query.*; + +public class CustomerPasswordTokenReferenceQueryBuilderDsl { + public CustomerPasswordTokenReferenceQueryBuilderDsl() { + } + + public static CustomerPasswordTokenReferenceQueryBuilderDsl of() { + return new CustomerPasswordTokenReferenceQueryBuilderDsl(); + } + + public StringComparisonPredicateBuilder typeId() { + return new StringComparisonPredicateBuilder<>( + BinaryQueryPredicate.of().left(new ConstantQueryPredicate("typeId")), + p -> new CombinationQueryPredicate<>(p, CustomerPasswordTokenReferenceQueryBuilderDsl::of)); + } + + public StringComparisonPredicateBuilder id() { + return new StringComparisonPredicateBuilder<>(BinaryQueryPredicate.of().left(new ConstantQueryPredicate("id")), + p -> new CombinationQueryPredicate<>(p, CustomerPasswordTokenReferenceQueryBuilderDsl::of)); + } + +} diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-predicates-generated/com/commercetools/api/predicates/query/customer/CustomerTokenQueryBuilderDsl.java b/commercetools/commercetools-sdk-java-api/src/main/java-predicates-generated/com/commercetools/api/predicates/query/customer/CustomerTokenQueryBuilderDsl.java index cee340d7554..234a2432bbd 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-predicates-generated/com/commercetools/api/predicates/query/customer/CustomerTokenQueryBuilderDsl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-predicates-generated/com/commercetools/api/predicates/query/customer/CustomerTokenQueryBuilderDsl.java @@ -16,21 +16,15 @@ public StringComparisonPredicateBuilder id() { p -> new CombinationQueryPredicate<>(p, CustomerTokenQueryBuilderDsl::of)); } - public DateTimeComparisonPredicateBuilder createdAt() { - return new DateTimeComparisonPredicateBuilder<>( - BinaryQueryPredicate.of().left(new ConstantQueryPredicate("createdAt")), - p -> new CombinationQueryPredicate<>(p, CustomerTokenQueryBuilderDsl::of)); - } - - public DateTimeComparisonPredicateBuilder lastModifiedAt() { - return new DateTimeComparisonPredicateBuilder<>( - BinaryQueryPredicate.of().left(new ConstantQueryPredicate("lastModifiedAt")), + public StringComparisonPredicateBuilder customerId() { + return new StringComparisonPredicateBuilder<>( + BinaryQueryPredicate.of().left(new ConstantQueryPredicate("customerId")), p -> new CombinationQueryPredicate<>(p, CustomerTokenQueryBuilderDsl::of)); } - public StringComparisonPredicateBuilder customerId() { + public StringComparisonPredicateBuilder value() { return new StringComparisonPredicateBuilder<>( - BinaryQueryPredicate.of().left(new ConstantQueryPredicate("customerId")), + BinaryQueryPredicate.of().left(new ConstantQueryPredicate("value")), p -> new CombinationQueryPredicate<>(p, CustomerTokenQueryBuilderDsl::of)); } @@ -40,9 +34,15 @@ public DateTimeComparisonPredicateBuilder expiresA p -> new CombinationQueryPredicate<>(p, CustomerTokenQueryBuilderDsl::of)); } - public StringComparisonPredicateBuilder value() { - return new StringComparisonPredicateBuilder<>( - BinaryQueryPredicate.of().left(new ConstantQueryPredicate("value")), + public DateTimeComparisonPredicateBuilder createdAt() { + return new DateTimeComparisonPredicateBuilder<>( + BinaryQueryPredicate.of().left(new ConstantQueryPredicate("createdAt")), + p -> new CombinationQueryPredicate<>(p, CustomerTokenQueryBuilderDsl::of)); + } + + public DateTimeComparisonPredicateBuilder lastModifiedAt() { + return new DateTimeComparisonPredicateBuilder<>( + BinaryQueryPredicate.of().left(new ConstantQueryPredicate("lastModifiedAt")), p -> new CombinationQueryPredicate<>(p, CustomerTokenQueryBuilderDsl::of)); } diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyApiClientsByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyApiClientsByIDTest.java index ff2adc9d1e0..d71b083b0fb 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyApiClientsByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyApiClientsByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyApiClientsTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyApiClientsTest.java index 4fc0f0fcf9d..8b1b3ecddca 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyApiClientsTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyApiClientsTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsByIDTest.java index 5133fb50f39..345b3551745 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsKeyByKeyTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsKeyByKeyTest.java index f2833cc92c2..56410595565 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsKeyByKeyTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsKeyByKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsTest.java index d4527263ac0..a876799d063 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsByIDTest.java index 0557485c79b..b655cddf4c9 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsTest.java index e165bd9deb3..98ff7c3f5fb 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesByIDTest.java index c05c6cbdd46..4c5a311d2ec 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesKeyByKeyTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesKeyByKeyTest.java index f05738e2cf1..c1ffe111f7d 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesKeyByKeyTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesKeyByKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesTest.java index 66a5c6ce10b..7e22a5bf593 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsByIDTest.java index 457d6838e60..580af13c039 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsKeyByKeyTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsKeyByKeyTest.java index 0c9e0662547..8d78f3c2045 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsKeyByKeyTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsKeyByKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsReplicateTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsReplicateTest.java index 805419e4998..60b1ae88c60 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsReplicateTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsReplicateTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsTest.java index 0bc9ebfc9e5..727d3259887 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersByIDTest.java index fa94cb02c47..fdef2844c0c 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersOrderNumberByOrderNumberTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersOrderNumberByOrderNumberTest.java index d0bc6a5f3b2..ad119ef499d 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersOrderNumberByOrderNumberTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersOrderNumberByOrderNumberTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersQuotesTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersQuotesTest.java index f31799899df..2f9cbd55583 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersQuotesTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersQuotesTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersTest.java index cdc1affa2bf..eca7eb9368a 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsByIDTest.java index 56751a0c6c3..ac74b14f6ad 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsKeyByKeyTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsKeyByKeyTest.java index 249e834c2c0..f631b876a87 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsKeyByKeyTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsKeyByKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsTest.java index ead51504d15..2e0b0126f2e 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesByIDTest.java index 4aae5661b62..9ac619686b3 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesKeyByKeyTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesKeyByKeyTest.java index b3d3f5ba3e3..2f99649d286 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesKeyByKeyTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesKeyByKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesTest.java index c58e7d35470..8e5063c7e10 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAssociateRolesByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAssociateRolesByIDTest.java index ce46c6a7b61..7bb1c1fbf92 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAssociateRolesByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAssociateRolesByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAssociateRolesKeyByKeyTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAssociateRolesKeyByKeyTest.java index 890275e0572..47ce2d7017d 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAssociateRolesKeyByKeyTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAssociateRolesKeyByKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAssociateRolesTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAssociateRolesTest.java index 14987a7e814..1193c3fb351 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAssociateRolesTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAssociateRolesTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAttributeGroupsByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAttributeGroupsByIDTest.java index 420e2a5fe1a..546ac87aeea 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAttributeGroupsByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAttributeGroupsByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAttributeGroupsKeyByKeyTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAttributeGroupsKeyByKeyTest.java index 9e50e0beec4..056e694e50d 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAttributeGroupsKeyByKeyTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAttributeGroupsKeyByKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAttributeGroupsTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAttributeGroupsTest.java index 653b4de41b1..81340385544 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAttributeGroupsTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyAttributeGroupsTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyBusinessUnitsByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyBusinessUnitsByIDTest.java index 810a0cb82d3..679398ca39f 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyBusinessUnitsByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyBusinessUnitsByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyBusinessUnitsKeyByKeyTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyBusinessUnitsKeyByKeyTest.java index 6d898981b37..a2f6d7edc72 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyBusinessUnitsKeyByKeyTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyBusinessUnitsKeyByKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyBusinessUnitsTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyBusinessUnitsTest.java index cbdd7c5889f..124e6e61761 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyBusinessUnitsTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyBusinessUnitsTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCartDiscountsByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCartDiscountsByIDTest.java index 17b60d7a950..caf4c8ea247 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCartDiscountsByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCartDiscountsByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCartDiscountsKeyByKeyTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCartDiscountsKeyByKeyTest.java index 1c9fb7e4de5..8209d267509 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCartDiscountsKeyByKeyTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCartDiscountsKeyByKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCartDiscountsTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCartDiscountsTest.java index 8d252f262a3..b30a33b3bc6 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCartDiscountsTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCartDiscountsTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCartsByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCartsByIDTest.java index 40ea5fa57a5..559dac9774b 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCartsByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCartsByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCartsCustomerIdByCustomerIdTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCartsCustomerIdByCustomerIdTest.java index da6aabccfe9..2fe5add55a7 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCartsCustomerIdByCustomerIdTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCartsCustomerIdByCustomerIdTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCartsKeyByKeyTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCartsKeyByKeyTest.java index 513da7f7a2a..6c2e675bfaf 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCartsKeyByKeyTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCartsKeyByKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCartsReplicateTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCartsReplicateTest.java index ea9d1568564..3ac8940b1f2 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCartsReplicateTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCartsReplicateTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCartsTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCartsTest.java index 8c903503463..708f1e1002b 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCartsTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCartsTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCategoriesByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCategoriesByIDTest.java index a5e99e6abed..e6f9aa75a4d 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCategoriesByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCategoriesByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCategoriesKeyByKeyTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCategoriesKeyByKeyTest.java index 35465473c3e..cbe522457bd 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCategoriesKeyByKeyTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCategoriesKeyByKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCategoriesTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCategoriesTest.java index 693de2291ab..9d651102ba1 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCategoriesTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCategoriesTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyChannelsByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyChannelsByIDTest.java index aba31ab1a29..19016905240 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyChannelsByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyChannelsByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyChannelsTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyChannelsTest.java index 121c18e2c47..6fabf5bcf14 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyChannelsTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyChannelsTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomObjectsByContainerByKeyTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomObjectsByContainerByKeyTest.java index cc8996e0efa..a445b40c02e 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomObjectsByContainerByKeyTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomObjectsByContainerByKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomObjectsByContainerTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomObjectsByContainerTest.java index f4dd2c32588..17232bc75c0 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomObjectsByContainerTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomObjectsByContainerTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomObjectsTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomObjectsTest.java index 31dfa33da5c..4c63cb420f3 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomObjectsTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomObjectsTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomerGroupsByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomerGroupsByIDTest.java index c978b135f9a..6e925a77e67 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomerGroupsByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomerGroupsByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomerGroupsKeyByKeyTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomerGroupsKeyByKeyTest.java index bf7c636202e..ab35322a63d 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomerGroupsKeyByKeyTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomerGroupsKeyByKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomerGroupsTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomerGroupsTest.java index 3365b982690..64010ea6f44 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomerGroupsTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomerGroupsTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomersByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomersByIDTest.java index d2afd54f307..24be41e71a4 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomersByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomersByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomersEmailConfirmTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomersEmailConfirmTest.java index 2377f86604f..5ca41e022ec 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomersEmailConfirmTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomersEmailConfirmTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomersEmailTokenByEmailTokenTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomersEmailTokenByEmailTokenTest.java index 373c7577950..c9d764740d4 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomersEmailTokenByEmailTokenTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomersEmailTokenByEmailTokenTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomersEmailTokenTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomersEmailTokenTest.java index 4fac000fd2a..ba5d73fdf5a 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomersEmailTokenTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomersEmailTokenTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomersKeyByKeyTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomersKeyByKeyTest.java index 9d9898e1b49..bbdc734319c 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomersKeyByKeyTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomersKeyByKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomersPasswordResetTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomersPasswordResetTest.java index e5b512ad3d3..656b799d39f 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomersPasswordResetTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomersPasswordResetTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomersPasswordTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomersPasswordTest.java index d40b0e2d2e5..f28d4e8dc94 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomersPasswordTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomersPasswordTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomersPasswordTokenByPasswordTokenTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomersPasswordTokenByPasswordTokenTest.java index 1a64c32832a..a4af33a3ed2 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomersPasswordTokenByPasswordTokenTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomersPasswordTokenByPasswordTokenTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomersPasswordTokenTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomersPasswordTokenTest.java index dd7f844c3af..9ee16e82401 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomersPasswordTokenTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomersPasswordTokenTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomersTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomersTest.java index e71385023b7..46696dc841d 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomersTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyCustomersTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyDiscountCodesByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyDiscountCodesByIDTest.java index 76e3c15c537..69caf744188 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyDiscountCodesByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyDiscountCodesByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyDiscountCodesTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyDiscountCodesTest.java index bd71d6869bd..7cc62eeffd7 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyDiscountCodesTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyDiscountCodesTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyExtensionsByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyExtensionsByIDTest.java index 005b932e643..7c583b6a554 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyExtensionsByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyExtensionsByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyExtensionsKeyByKeyTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyExtensionsKeyByKeyTest.java index 9cce5bb1cd1..34d4a34dc4e 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyExtensionsKeyByKeyTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyExtensionsKeyByKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyExtensionsTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyExtensionsTest.java index ff64b325342..96500f321cc 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyExtensionsTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyExtensionsTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyGraphqlTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyGraphqlTest.java index a9fe47b0ebe..dba635ce677 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyGraphqlTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyGraphqlTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInBusinessUnitKeyByBusinessUnitKeyMeCustomersTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInBusinessUnitKeyByBusinessUnitKeyMeCustomersTest.java index 6f4088c090e..b8be83f4de5 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInBusinessUnitKeyByBusinessUnitKeyMeCustomersTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInBusinessUnitKeyByBusinessUnitKeyMeCustomersTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsByIDTest.java index 7bbf0648d11..239a259f762 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsKeyByKeyTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsKeyByKeyTest.java index 915d69502b1..4361736b016 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsKeyByKeyTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsKeyByKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsTest.java index c1cb2e665b4..9612c0a3c09 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCartsByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCartsByIDTest.java index 21901196a56..4da40bedafd 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCartsByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCartsByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCartsCustomerIdByCustomerIdTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCartsCustomerIdByCustomerIdTest.java index e6cd2eab8d0..8faccd2a2e8 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCartsCustomerIdByCustomerIdTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCartsCustomerIdByCustomerIdTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyTest.java index a06c75d30ad..954d43faa89 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCartsReplicateTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCartsReplicateTest.java index 807260e09df..fc38dbc4e9b 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCartsReplicateTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCartsReplicateTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCartsTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCartsTest.java index 2e2363de2e2..ca4d5c7103e 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCartsTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCartsTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCustomersByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCustomersByIDTest.java index 6d2e2185a13..9aa72a87432 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCustomersByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCustomersByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCustomersEmailConfirmTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCustomersEmailConfirmTest.java index 5e6ff2c174b..0ee4df4ba8c 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCustomersEmailConfirmTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCustomersEmailConfirmTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCustomersEmailTokenByEmailTokenTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCustomersEmailTokenByEmailTokenTest.java index 4a26bb8c3bf..3221759424c 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCustomersEmailTokenByEmailTokenTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCustomersEmailTokenByEmailTokenTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCustomersEmailTokenTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCustomersEmailTokenTest.java index 258a0ad9561..62579b71b0d 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCustomersEmailTokenTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCustomersEmailTokenTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCustomersKeyByKeyTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCustomersKeyByKeyTest.java index 7c11ffacb99..b96434a4e20 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCustomersKeyByKeyTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCustomersKeyByKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordResetTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordResetTest.java index 4f5c6c1c966..fd16dd7865f 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordResetTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordResetTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordTest.java index 42ef7a5a439..c5f9776bcc9 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordTokenByPasswordTokenTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordTokenByPasswordTokenTest.java index aa5ddcffab4..bdc9eb1486e 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordTokenByPasswordTokenTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordTokenByPasswordTokenTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordTokenTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordTokenTest.java index 23aabb02f21..db74baad89e 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordTokenTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordTokenTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCustomersTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCustomersTest.java index c88a15abc25..f4c28be4f52 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCustomersTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyCustomersTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyLoginTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyLoginTest.java index 8d23328683a..f4a29da1a70 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyLoginTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyLoginTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMeActiveCartTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMeActiveCartTest.java index 312f1a9a6b9..66f38ebe710 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMeActiveCartTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMeActiveCartTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDTest.java index b1b4e2a769f..2b3473c18e7 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMeCartsTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMeCartsTest.java index 4ee64eb64e1..5388f395c91 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMeCartsTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMeCartsTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMeEmailConfirmTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMeEmailConfirmTest.java index c1e906f59a8..4f133a527d6 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMeEmailConfirmTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMeEmailConfirmTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMeLoginTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMeLoginTest.java index a92e7c07c1b..55e87a62921 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMeLoginTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMeLoginTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMeOrdersByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMeOrdersByIDTest.java index b40167cf1fb..7deccbd706f 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMeOrdersByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMeOrdersByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMeOrdersTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMeOrdersTest.java index d0b5592b0d8..cdfebba0099 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMeOrdersTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMeOrdersTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMePasswordResetTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMePasswordResetTest.java index 40d44f3b2f4..94b42fe1f42 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMePasswordResetTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMePasswordResetTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMePasswordTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMePasswordTest.java index 4af8d48ee12..a2542263935 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMePasswordTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMePasswordTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsByIDTest.java index e1439fe7974..51f78ffd076 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyTest.java index 24d1cfdec3b..2369dfacc43 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsTest.java index cf2a1499f3d..413f5736810 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMeSignupTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMeSignupTest.java index 90fb5a90238..64853cf251c 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMeSignupTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMeSignupTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMeTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMeTest.java index c28ffe8550e..71ae077680b 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMeTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyMeTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyOrdersByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyOrdersByIDTest.java index cd0fd78e665..5f50568d140 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyOrdersByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyOrdersByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyOrdersOrderNumberByOrderNumberTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyOrdersOrderNumberByOrderNumberTest.java index fab0b57f13c..96f332325fb 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyOrdersOrderNumberByOrderNumberTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyOrdersOrderNumberByOrderNumberTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyOrdersTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyOrdersTest.java index d5c25e2aaa5..13a8724c394 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyOrdersTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyOrdersTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDTest.java index 88e0cb5dc74..b8249264567 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyTest.java index 0c7ab34e513..9c67560d669 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyProductSelectionAssignmentsTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyProductSelectionAssignmentsTest.java index 4064f72a314..7371262469f 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyProductSelectionAssignmentsTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyProductSelectionAssignmentsTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyShippingMethodsMatchingCartTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyShippingMethodsMatchingCartTest.java index 4ca21aaa956..b1e44932bbf 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyShippingMethodsMatchingCartTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyShippingMethodsMatchingCartTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDTest.java index e9ac4fc85ae..d2acfa116e6 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyShoppingListsKeyByKeyTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyShoppingListsKeyByKeyTest.java index 8aca50befcd..6d1af80c7f9 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyShoppingListsKeyByKeyTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyShoppingListsKeyByKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyShoppingListsTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyShoppingListsTest.java index 99729d4ded7..c8985b720b3 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyShoppingListsTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInStoreKeyByStoreKeyShoppingListsTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInventoryByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInventoryByIDTest.java index 4de7bcc6ef6..b8ef36316d2 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInventoryByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInventoryByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInventoryKeyByKeyTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInventoryKeyByKeyTest.java index d54674d648b..e3a36c8cadf 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInventoryKeyByKeyTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInventoryKeyByKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInventoryTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInventoryTest.java index e37a8a57884..be515c65f81 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInventoryTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyInventoryTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyLoginTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyLoginTest.java index 0d2549fce62..cae047cc541 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyLoginTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyLoginTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeActiveCartTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeActiveCartTest.java index a46a7585d3f..7b0efc985d0 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeActiveCartTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeActiveCartTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeBusinessUnitsByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeBusinessUnitsByIDTest.java index b4b4bfae8d6..1b33c049eeb 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeBusinessUnitsByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeBusinessUnitsByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeBusinessUnitsKeyByKeyTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeBusinessUnitsKeyByKeyTest.java index 193db213cb1..fd558c0c60d 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeBusinessUnitsKeyByKeyTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeBusinessUnitsKeyByKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeBusinessUnitsTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeBusinessUnitsTest.java index 09d0e33af62..3abc05c7399 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeBusinessUnitsTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeBusinessUnitsTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeCartsByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeCartsByIDTest.java index e3a1f481cc3..9982bfc5dae 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeCartsByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeCartsByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeCartsKeyByKeyTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeCartsKeyByKeyTest.java index 3523d6c46bb..ccf4ac3c704 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeCartsKeyByKeyTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeCartsKeyByKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeCartsReplicateTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeCartsReplicateTest.java index caf81697b40..ae846dfdd9f 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeCartsReplicateTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeCartsReplicateTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeCartsTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeCartsTest.java index dc7dbd6a4d3..9ec6c45c27f 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeCartsTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeCartsTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeEmailConfirmTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeEmailConfirmTest.java index 09ea97ec540..235122df423 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeEmailConfirmTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeEmailConfirmTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeLoginTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeLoginTest.java index dee5be1a39e..9c23f3e5641 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeLoginTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeLoginTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeOrdersByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeOrdersByIDTest.java index 537fd14cba8..a2f0b5a59a2 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeOrdersByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeOrdersByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeOrdersQuotesTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeOrdersQuotesTest.java index 0b359ba2a18..18dec80695c 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeOrdersQuotesTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeOrdersQuotesTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeOrdersTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeOrdersTest.java index 5c8980716dc..f1f000e4731 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeOrdersTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeOrdersTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMePasswordResetTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMePasswordResetTest.java index 674bbdf36dc..3755e93ec47 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMePasswordResetTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMePasswordResetTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMePasswordTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMePasswordTest.java index 33692f55ebc..d2a54bc8e2b 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMePasswordTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMePasswordTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMePaymentsByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMePaymentsByIDTest.java index f7dfae605db..4dcc895b292 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMePaymentsByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMePaymentsByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMePaymentsTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMePaymentsTest.java index 0347a842329..4ac7a9f3b09 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMePaymentsTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMePaymentsTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeQuoteRequestsByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeQuoteRequestsByIDTest.java index c855617c258..984455e23cc 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeQuoteRequestsByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeQuoteRequestsByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeQuoteRequestsKeyByKeyTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeQuoteRequestsKeyByKeyTest.java index d831f0213fd..e6a52554b0d 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeQuoteRequestsKeyByKeyTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeQuoteRequestsKeyByKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeQuoteRequestsTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeQuoteRequestsTest.java index 62001c73f12..347afaf6da4 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeQuoteRequestsTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeQuoteRequestsTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeQuotesByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeQuotesByIDTest.java index d863a9bccc5..852bedbd495 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeQuotesByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeQuotesByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeQuotesKeyByKeyTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeQuotesKeyByKeyTest.java index 4014a298d8b..f2d55ef3e20 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeQuotesKeyByKeyTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeQuotesKeyByKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeQuotesTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeQuotesTest.java index aa3527bea0e..b6e08b63fd7 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeQuotesTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeQuotesTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeShoppingListsByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeShoppingListsByIDTest.java index a18922fc8d6..3cf730029e5 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeShoppingListsByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeShoppingListsByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeShoppingListsKeyByKeyTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeShoppingListsKeyByKeyTest.java index 68fb01a6a8b..9f5a265f895 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeShoppingListsKeyByKeyTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeShoppingListsKeyByKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeShoppingListsTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeShoppingListsTest.java index 675f02ea74d..a28a5f11f1e 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeShoppingListsTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeShoppingListsTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeSignupTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeSignupTest.java index aaf09bfb517..c653d06dac8 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeSignupTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeSignupTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeTest.java index e755eb704fc..bb65050ee3a 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMeTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMessagesByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMessagesByIDTest.java index e4ca91f41b5..292ecf69fa7 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMessagesByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMessagesByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMessagesTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMessagesTest.java index af470d42ad1..4298e25ae7f 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMessagesTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyMessagesTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyOrdersByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyOrdersByIDTest.java index 81b1ff30c40..a366dd698d0 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyOrdersByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyOrdersByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyOrdersEditsByIDApplyTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyOrdersEditsByIDApplyTest.java index 0f6f4a60e0a..1d4977c6bd2 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyOrdersEditsByIDApplyTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyOrdersEditsByIDApplyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyOrdersEditsByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyOrdersEditsByIDTest.java index 170815d637c..ad6dc974491 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyOrdersEditsByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyOrdersEditsByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyOrdersEditsKeyByKeyTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyOrdersEditsKeyByKeyTest.java index 34285c3d7ee..103659fe00f 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyOrdersEditsKeyByKeyTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyOrdersEditsKeyByKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyOrdersEditsTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyOrdersEditsTest.java index 7037de70e18..8194cdf99a0 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyOrdersEditsTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyOrdersEditsTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyOrdersImportTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyOrdersImportTest.java index 105d5a7db07..0569a57502e 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyOrdersImportTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyOrdersImportTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyOrdersOrderNumberByOrderNumberTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyOrdersOrderNumberByOrderNumberTest.java index d0c102886f3..00c085590fe 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyOrdersOrderNumberByOrderNumberTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyOrdersOrderNumberByOrderNumberTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyOrdersQuotesTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyOrdersQuotesTest.java index a6a53c42efe..fe28fc96b11 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyOrdersQuotesTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyOrdersQuotesTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyOrdersSearchTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyOrdersSearchTest.java index d67ad44192a..88f032f2e8b 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyOrdersSearchTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyOrdersSearchTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyOrdersTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyOrdersTest.java index 62c34dd5c9a..7691a703a52 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyOrdersTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyOrdersTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyPaymentsByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyPaymentsByIDTest.java index 216dac5ade9..17cbe40aa23 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyPaymentsByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyPaymentsByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyPaymentsKeyByKeyTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyPaymentsKeyByKeyTest.java index a3f867e04ae..1f91e9f1c9f 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyPaymentsKeyByKeyTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyPaymentsKeyByKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyPaymentsTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyPaymentsTest.java index 842430b5f80..70e97b142f1 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyPaymentsTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyPaymentsTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductDiscountsByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductDiscountsByIDTest.java index 7c9d615a2d6..0eb057688e3 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductDiscountsByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductDiscountsByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductDiscountsKeyByKeyTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductDiscountsKeyByKeyTest.java index 92439cda6eb..09061205079 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductDiscountsKeyByKeyTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductDiscountsKeyByKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductDiscountsMatchingTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductDiscountsMatchingTest.java index 9117c26b6d8..5cb836b2dee 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductDiscountsMatchingTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductDiscountsMatchingTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductDiscountsTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductDiscountsTest.java index d34ba53aefb..0567285f90f 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductDiscountsTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductDiscountsTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductProjectionsByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductProjectionsByIDTest.java index b5bd48ba407..1cc81619542 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductProjectionsByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductProjectionsByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductProjectionsKeyByKeyTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductProjectionsKeyByKeyTest.java index daa1ee0e803..0b10869586f 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductProjectionsKeyByKeyTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductProjectionsKeyByKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductProjectionsSearchTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductProjectionsSearchTest.java index bac7d6a9cff..103d41e670e 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductProjectionsSearchTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductProjectionsSearchTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductProjectionsSuggestTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductProjectionsSuggestTest.java index be61246fcc1..388cce9bc3b 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductProjectionsSuggestTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductProjectionsSuggestTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductProjectionsTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductProjectionsTest.java index 5765bbcbc80..3b1853979c9 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductProjectionsTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductProjectionsTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductSelectionsByIDProductsTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductSelectionsByIDProductsTest.java index 41c519243eb..2ae8345a1cf 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductSelectionsByIDProductsTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductSelectionsByIDProductsTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductSelectionsByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductSelectionsByIDTest.java index 7932b9f2079..505bf7296d8 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductSelectionsByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductSelectionsByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductSelectionsKeyByKeyProductsTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductSelectionsKeyByKeyProductsTest.java index 9ed5201217b..b7e1e6ee1be 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductSelectionsKeyByKeyProductsTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductSelectionsKeyByKeyProductsTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductSelectionsKeyByKeyTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductSelectionsKeyByKeyTest.java index ce0fe4d9f29..0f17c34bea5 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductSelectionsKeyByKeyTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductSelectionsKeyByKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductSelectionsTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductSelectionsTest.java index f80ce0bcfa0..52a4a58728b 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductSelectionsTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductSelectionsTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductTypesByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductTypesByIDTest.java index f5abe154305..089bd00e705 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductTypesByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductTypesByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductTypesKeyByKeyTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductTypesKeyByKeyTest.java index 05bfd5b3079..dc562e2f5fc 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductTypesKeyByKeyTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductTypesKeyByKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductTypesTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductTypesTest.java index e5cc2a43051..ab62f7ca714 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductTypesTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductTypesTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductsByIDImagesTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductsByIDImagesTest.java index 2838bfc41e6..354493dd5b4 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductsByIDImagesTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductsByIDImagesTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductsByIDProductSelectionsTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductsByIDProductSelectionsTest.java index eb7838f0683..06aa34936e7 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductsByIDProductSelectionsTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductsByIDProductSelectionsTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductsByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductsByIDTest.java index 4b307feb2d2..2437c70fa40 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductsByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductsByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductsKeyByKeyProductSelectionsTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductsKeyByKeyProductSelectionsTest.java index 9a56926b553..8a392c3336c 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductsKeyByKeyProductSelectionsTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductsKeyByKeyProductSelectionsTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductsKeyByKeyTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductsKeyByKeyTest.java index 7c71e584f37..8fa987c742c 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductsKeyByKeyTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductsKeyByKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductsTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductsTest.java index a4b4f4f42b2..a9f59cb325b 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductsTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyProductsTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyQuoteRequestsByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyQuoteRequestsByIDTest.java index 7c4d6d11bd5..8fa421ec8c5 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyQuoteRequestsByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyQuoteRequestsByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyQuoteRequestsKeyByKeyTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyQuoteRequestsKeyByKeyTest.java index ba54cde5f1e..bcc8667b271 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyQuoteRequestsKeyByKeyTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyQuoteRequestsKeyByKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyQuoteRequestsTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyQuoteRequestsTest.java index fa3f8db51be..383af8f1773 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyQuoteRequestsTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyQuoteRequestsTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyQuotesByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyQuotesByIDTest.java index 75e4e1f3b53..c648cafcc36 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyQuotesByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyQuotesByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyQuotesKeyByKeyTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyQuotesKeyByKeyTest.java index ce2523279d6..d74cb5dd349 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyQuotesKeyByKeyTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyQuotesKeyByKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyQuotesTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyQuotesTest.java index 93d77e7b67a..6385df3bf1f 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyQuotesTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyQuotesTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyReviewsByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyReviewsByIDTest.java index 8bdcffe159f..c03536863b2 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyReviewsByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyReviewsByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyReviewsKeyByKeyTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyReviewsKeyByKeyTest.java index 7054a74a8ce..51f00e06532 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyReviewsKeyByKeyTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyReviewsKeyByKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyReviewsTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyReviewsTest.java index 2d0fb257665..46b37f50928 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyReviewsTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyReviewsTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyShippingMethodsByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyShippingMethodsByIDTest.java index b38bdf4c09f..e773fac8e7d 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyShippingMethodsByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyShippingMethodsByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyShippingMethodsKeyByKeyTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyShippingMethodsKeyByKeyTest.java index 2317494644d..c9a56c744f9 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyShippingMethodsKeyByKeyTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyShippingMethodsKeyByKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyShippingMethodsMatchingCartLocationTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyShippingMethodsMatchingCartLocationTest.java index ebacfdd9fcf..bdb440afd64 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyShippingMethodsMatchingCartLocationTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyShippingMethodsMatchingCartLocationTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyShippingMethodsMatchingCartTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyShippingMethodsMatchingCartTest.java index 132c924ddf3..541a3200a73 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyShippingMethodsMatchingCartTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyShippingMethodsMatchingCartTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyShippingMethodsMatchingLocationTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyShippingMethodsMatchingLocationTest.java index c3f982b9326..ac8633a810d 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyShippingMethodsMatchingLocationTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyShippingMethodsMatchingLocationTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyShippingMethodsMatchingOrdereditTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyShippingMethodsMatchingOrdereditTest.java index 98f0331c303..cc6799caae3 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyShippingMethodsMatchingOrdereditTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyShippingMethodsMatchingOrdereditTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyShippingMethodsTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyShippingMethodsTest.java index b426a51dd7f..dd026bfec8e 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyShippingMethodsTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyShippingMethodsTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyShoppingListsByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyShoppingListsByIDTest.java index 556eca4d0d5..4caf7e1b917 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyShoppingListsByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyShoppingListsByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyShoppingListsKeyByKeyTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyShoppingListsKeyByKeyTest.java index a7331face7a..517435296d1 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyShoppingListsKeyByKeyTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyShoppingListsKeyByKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyShoppingListsTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyShoppingListsTest.java index f9219114cbb..c19ed496d45 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyShoppingListsTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyShoppingListsTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyStagedQuotesByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyStagedQuotesByIDTest.java index d248c349189..45abc8a04d4 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyStagedQuotesByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyStagedQuotesByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyStagedQuotesKeyByKeyTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyStagedQuotesKeyByKeyTest.java index 52d8024bbb5..7a14aaf86f9 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyStagedQuotesKeyByKeyTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyStagedQuotesKeyByKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyStagedQuotesTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyStagedQuotesTest.java index 38ccc8381c8..3474aa2dde2 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyStagedQuotesTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyStagedQuotesTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyStandalonePricesByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyStandalonePricesByIDTest.java index c30f969e35c..9158ec90a22 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyStandalonePricesByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyStandalonePricesByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyStandalonePricesKeyByKeyTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyStandalonePricesKeyByKeyTest.java index f0706e3214a..8975cf7ecf8 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyStandalonePricesKeyByKeyTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyStandalonePricesKeyByKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyStandalonePricesTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyStandalonePricesTest.java index 25f8d64378b..df6188458eb 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyStandalonePricesTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyStandalonePricesTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyStatesByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyStatesByIDTest.java index 5d899e7da50..c3ddc741ef0 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyStatesByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyStatesByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyStatesKeyByKeyTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyStatesKeyByKeyTest.java index 38c421d2e71..537e8e62f5e 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyStatesKeyByKeyTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyStatesKeyByKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyStatesTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyStatesTest.java index 6dc9a1e882c..555515eb3bb 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyStatesTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyStatesTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyStoresByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyStoresByIDTest.java index f0caa9cecdb..db7f50f8422 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyStoresByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyStoresByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyStoresKeyByKeyTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyStoresKeyByKeyTest.java index 787eefd9aa5..f76b9ff875f 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyStoresKeyByKeyTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyStoresKeyByKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyStoresTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyStoresTest.java index 053e3c31c0f..2c492671bca 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyStoresTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyStoresTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeySubscriptionsByIDHealthTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeySubscriptionsByIDHealthTest.java index 331bddc9d1d..d88fafc3b2d 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeySubscriptionsByIDHealthTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeySubscriptionsByIDHealthTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeySubscriptionsByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeySubscriptionsByIDTest.java index eabb6c5bb4e..6ef457b91c2 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeySubscriptionsByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeySubscriptionsByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeySubscriptionsKeyByKeyTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeySubscriptionsKeyByKeyTest.java index 7fc0021665d..0a8f5fbb2f3 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeySubscriptionsKeyByKeyTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeySubscriptionsKeyByKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeySubscriptionsTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeySubscriptionsTest.java index f9dce5e28b8..bca809acc89 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeySubscriptionsTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeySubscriptionsTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyTaxCategoriesByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyTaxCategoriesByIDTest.java index fee88666464..4dd2aa4220f 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyTaxCategoriesByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyTaxCategoriesByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyTaxCategoriesKeyByKeyTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyTaxCategoriesKeyByKeyTest.java index 3d9d47e7e45..29b6840226c 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyTaxCategoriesKeyByKeyTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyTaxCategoriesKeyByKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyTaxCategoriesTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyTaxCategoriesTest.java index 489627c3107..937a5a48544 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyTaxCategoriesTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyTaxCategoriesTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyTest.java index e0034edb610..6db9099d999 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyTypesByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyTypesByIDTest.java index 2a37700e172..5c848e4538f 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyTypesByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyTypesByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyTypesKeyByKeyTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyTypesKeyByKeyTest.java index 25f2d0b66d5..f1799a8c02a 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyTypesKeyByKeyTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyTypesKeyByKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyTypesTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyTypesTest.java index cb9307c9895..864568e9be9 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyTypesTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyTypesTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyZonesByIDTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyZonesByIDTest.java index b59e4414a52..d219714cc0a 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyZonesByIDTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyZonesByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyZonesKeyByKeyTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyZonesKeyByKeyTest.java index 4683da94a1b..07728bec92a 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyZonesKeyByKeyTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyZonesKeyByKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyZonesTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyZonesTest.java index 24fa3009aaa..9ebf6e30ef6 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyZonesTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/client/resource/ByProjectKeyZonesTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/models/customer/CustomerEmailTokenReferenceTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/models/customer/CustomerEmailTokenReferenceTest.java new file mode 100644 index 00000000000..46cca9537fe --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/models/customer/CustomerEmailTokenReferenceTest.java @@ -0,0 +1,36 @@ + +package com.commercetools.api.models.customer; + +import com.tngtech.junit.dataprovider.DataProvider; +import com.tngtech.junit.dataprovider.DataProviderExtension; +import com.tngtech.junit.dataprovider.UseDataProvider; +import com.tngtech.junit.dataprovider.UseDataProviderExtension; + +import org.assertj.core.api.Assertions; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.TestTemplate; +import org.junit.jupiter.api.extension.ExtendWith; + +@ExtendWith(UseDataProviderExtension.class) +@ExtendWith(DataProviderExtension.class) +public class CustomerEmailTokenReferenceTest { + + @TestTemplate + @UseDataProvider("objectBuilder") + public void buildUnchecked(CustomerEmailTokenReferenceBuilder builder) { + CustomerEmailTokenReference customerEmailTokenReference = builder.buildUnchecked(); + Assertions.assertThat(customerEmailTokenReference).isInstanceOf(CustomerEmailTokenReference.class); + } + + @DataProvider + public static Object[][] objectBuilder() { + return new Object[][] { new Object[] { CustomerEmailTokenReference.builder().id("id") } }; + } + + @Test + public void id() { + CustomerEmailTokenReference value = CustomerEmailTokenReference.of(); + value.setId("id"); + Assertions.assertThat(value.getId()).isEqualTo("id"); + } +} diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/models/customer/CustomerPasswordTokenReferenceTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/models/customer/CustomerPasswordTokenReferenceTest.java new file mode 100644 index 00000000000..daa141467e9 --- /dev/null +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/models/customer/CustomerPasswordTokenReferenceTest.java @@ -0,0 +1,36 @@ + +package com.commercetools.api.models.customer; + +import com.tngtech.junit.dataprovider.DataProvider; +import com.tngtech.junit.dataprovider.DataProviderExtension; +import com.tngtech.junit.dataprovider.UseDataProvider; +import com.tngtech.junit.dataprovider.UseDataProviderExtension; + +import org.assertj.core.api.Assertions; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.TestTemplate; +import org.junit.jupiter.api.extension.ExtendWith; + +@ExtendWith(UseDataProviderExtension.class) +@ExtendWith(DataProviderExtension.class) +public class CustomerPasswordTokenReferenceTest { + + @TestTemplate + @UseDataProvider("objectBuilder") + public void buildUnchecked(CustomerPasswordTokenReferenceBuilder builder) { + CustomerPasswordTokenReference customerPasswordTokenReference = builder.buildUnchecked(); + Assertions.assertThat(customerPasswordTokenReference).isInstanceOf(CustomerPasswordTokenReference.class); + } + + @DataProvider + public static Object[][] objectBuilder() { + return new Object[][] { new Object[] { CustomerPasswordTokenReference.builder().id("id") } }; + } + + @Test + public void id() { + CustomerPasswordTokenReference value = CustomerPasswordTokenReference.of(); + value.setId("id"); + Assertions.assertThat(value.getId()).isEqualTo("id"); + } +} diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/models/customer/CustomerTokenTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/models/customer/CustomerTokenTest.java index 4e6b365dfb2..adda7b43b25 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/models/customer/CustomerTokenTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/models/customer/CustomerTokenTest.java @@ -27,11 +27,11 @@ public void buildUnchecked(CustomerTokenBuilder builder) { @DataProvider public static Object[][] objectBuilder() { return new Object[][] { new Object[] { CustomerToken.builder().id("id") }, - new Object[] { CustomerToken.builder().createdAt(ZonedDateTime.parse("2023-06-01T12:00Z")) }, - new Object[] { CustomerToken.builder().lastModifiedAt(ZonedDateTime.parse("2023-06-01T12:00Z")) }, new Object[] { CustomerToken.builder().customerId("customerId") }, + new Object[] { CustomerToken.builder().value("value") }, new Object[] { CustomerToken.builder().expiresAt(ZonedDateTime.parse("2023-06-01T12:00Z")) }, - new Object[] { CustomerToken.builder().value("value") } }; + new Object[] { CustomerToken.builder().createdAt(ZonedDateTime.parse("2023-06-01T12:00Z")) }, + new Object[] { CustomerToken.builder().lastModifiedAt(ZonedDateTime.parse("2023-06-01T12:00Z")) } }; } @Test @@ -42,37 +42,37 @@ public void id() { } @Test - public void createdAt() { + public void customerId() { CustomerToken value = CustomerToken.of(); - value.setCreatedAt(ZonedDateTime.parse("2023-06-01T12:00Z")); - Assertions.assertThat(value.getCreatedAt()).isEqualTo(ZonedDateTime.parse("2023-06-01T12:00Z")); + value.setCustomerId("customerId"); + Assertions.assertThat(value.getCustomerId()).isEqualTo("customerId"); } @Test - public void lastModifiedAt() { + public void value() { CustomerToken value = CustomerToken.of(); - value.setLastModifiedAt(ZonedDateTime.parse("2023-06-01T12:00Z")); - Assertions.assertThat(value.getLastModifiedAt()).isEqualTo(ZonedDateTime.parse("2023-06-01T12:00Z")); + value.setValue("value"); + Assertions.assertThat(value.getValue()).isEqualTo("value"); } @Test - public void customerId() { + public void expiresAt() { CustomerToken value = CustomerToken.of(); - value.setCustomerId("customerId"); - Assertions.assertThat(value.getCustomerId()).isEqualTo("customerId"); + value.setExpiresAt(ZonedDateTime.parse("2023-06-01T12:00Z")); + Assertions.assertThat(value.getExpiresAt()).isEqualTo(ZonedDateTime.parse("2023-06-01T12:00Z")); } @Test - public void expiresAt() { + public void createdAt() { CustomerToken value = CustomerToken.of(); - value.setExpiresAt(ZonedDateTime.parse("2023-06-01T12:00Z")); - Assertions.assertThat(value.getExpiresAt()).isEqualTo(ZonedDateTime.parse("2023-06-01T12:00Z")); + value.setCreatedAt(ZonedDateTime.parse("2023-06-01T12:00Z")); + Assertions.assertThat(value.getCreatedAt()).isEqualTo(ZonedDateTime.parse("2023-06-01T12:00Z")); } @Test - public void value() { + public void lastModifiedAt() { CustomerToken value = CustomerToken.of(); - value.setValue("value"); - Assertions.assertThat(value.getValue()).isEqualTo("value"); + value.setLastModifiedAt(ZonedDateTime.parse("2023-06-01T12:00Z")); + Assertions.assertThat(value.getLastModifiedAt()).isEqualTo(ZonedDateTime.parse("2023-06-01T12:00Z")); } } diff --git a/commercetools/commercetools-sdk-java-history/src/test/java-generated/com/commercetools/history/client/resource/ByProjectKeyByResourceTypeByIDTest.java b/commercetools/commercetools-sdk-java-history/src/test/java-generated/com/commercetools/history/client/resource/ByProjectKeyByResourceTypeByIDTest.java index 3ea83ea79b9..20ba183e88c 100644 --- a/commercetools/commercetools-sdk-java-history/src/test/java-generated/com/commercetools/history/client/resource/ByProjectKeyByResourceTypeByIDTest.java +++ b/commercetools/commercetools-sdk-java-history/src/test/java-generated/com/commercetools/history/client/resource/ByProjectKeyByResourceTypeByIDTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-history/src/test/java-generated/com/commercetools/history/client/resource/ByProjectKeyByResourceTypeTest.java b/commercetools/commercetools-sdk-java-history/src/test/java-generated/com/commercetools/history/client/resource/ByProjectKeyByResourceTypeTest.java index 8564925c70a..253a4416ae4 100644 --- a/commercetools/commercetools-sdk-java-history/src/test/java-generated/com/commercetools/history/client/resource/ByProjectKeyByResourceTypeTest.java +++ b/commercetools/commercetools-sdk-java-history/src/test/java-generated/com/commercetools/history/client/resource/ByProjectKeyByResourceTypeTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-history/src/test/java-generated/com/commercetools/history/client/resource/ByProjectKeyTest.java b/commercetools/commercetools-sdk-java-history/src/test/java-generated/com/commercetools/history/client/resource/ByProjectKeyTest.java index f0d098a7dc4..40893775e25 100644 --- a/commercetools/commercetools-sdk-java-history/src/test/java-generated/com/commercetools/history/client/resource/ByProjectKeyTest.java +++ b/commercetools/commercetools-sdk-java-history/src/test/java-generated/com/commercetools/history/client/resource/ByProjectKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyCategoriesImportContainersByImportContainerKeyTest.java b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyCategoriesImportContainersByImportContainerKeyTest.java index 379057ec372..213e34328dd 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyCategoriesImportContainersByImportContainerKeyTest.java +++ b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyCategoriesImportContainersByImportContainerKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyCustomersImportContainersByImportContainerKeyTest.java b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyCustomersImportContainersByImportContainerKeyTest.java index c62cf2eda54..e785a5a70ed 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyCustomersImportContainersByImportContainerKeyTest.java +++ b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyCustomersImportContainersByImportContainerKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyImportContainersByImportContainerKeyImportOperationsTest.java b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyImportContainersByImportContainerKeyImportOperationsTest.java index b660512c948..7c5091182aa 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyImportContainersByImportContainerKeyImportOperationsTest.java +++ b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyImportContainersByImportContainerKeyImportOperationsTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyImportContainersByImportContainerKeyImportSummariesTest.java b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyImportContainersByImportContainerKeyImportSummariesTest.java index a8d6836a44b..0c764fa352a 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyImportContainersByImportContainerKeyImportSummariesTest.java +++ b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyImportContainersByImportContainerKeyImportSummariesTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyImportContainersByImportContainerKeyTest.java b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyImportContainersByImportContainerKeyTest.java index 5c3992b1077..d9e45bd77ce 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyImportContainersByImportContainerKeyTest.java +++ b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyImportContainersByImportContainerKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyImportContainersTest.java b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyImportContainersTest.java index 1a1130b80af..5a33ac71bd2 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyImportContainersTest.java +++ b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyImportContainersTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyImportOperationsByIdTest.java b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyImportOperationsByIdTest.java index d8693793f2c..7410466dfb0 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyImportOperationsByIdTest.java +++ b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyImportOperationsByIdTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyInventoriesImportContainersByImportContainerKeyTest.java b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyInventoriesImportContainersByImportContainerKeyTest.java index 9c6c31d1b06..91cc5a8a104 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyInventoriesImportContainersByImportContainerKeyTest.java +++ b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyInventoriesImportContainersByImportContainerKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyOrderPatchesImportContainersByImportContainerKeyTest.java b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyOrderPatchesImportContainersByImportContainerKeyTest.java index e1848433dfb..126ea507bc5 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyOrderPatchesImportContainersByImportContainerKeyTest.java +++ b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyOrderPatchesImportContainersByImportContainerKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyOrdersImportContainersByImportContainerKeyTest.java b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyOrdersImportContainersByImportContainerKeyTest.java index f92ed18f65f..0e034af3c43 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyOrdersImportContainersByImportContainerKeyTest.java +++ b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyOrdersImportContainersByImportContainerKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyPricesImportContainersByImportContainerKeyTest.java b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyPricesImportContainersByImportContainerKeyTest.java index 90eeee84b0e..aef65b35727 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyPricesImportContainersByImportContainerKeyTest.java +++ b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyPricesImportContainersByImportContainerKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyProductDraftsImportContainersByImportContainerKeyTest.java b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyProductDraftsImportContainersByImportContainerKeyTest.java index 6c13468728c..414d25fa5f6 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyProductDraftsImportContainersByImportContainerKeyTest.java +++ b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyProductDraftsImportContainersByImportContainerKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyProductTypesImportContainersByImportContainerKeyTest.java b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyProductTypesImportContainersByImportContainerKeyTest.java index 8ef14f22df1..7995e160c24 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyProductTypesImportContainersByImportContainerKeyTest.java +++ b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyProductTypesImportContainersByImportContainerKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyProductVariantPatchesImportContainersByImportContainerKeyTest.java b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyProductVariantPatchesImportContainersByImportContainerKeyTest.java index 3b365f31187..4d17b036097 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyProductVariantPatchesImportContainersByImportContainerKeyTest.java +++ b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyProductVariantPatchesImportContainersByImportContainerKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyProductVariantsImportContainersByImportContainerKeyTest.java b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyProductVariantsImportContainersByImportContainerKeyTest.java index 4bce18db1b6..4fd0298f8e6 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyProductVariantsImportContainersByImportContainerKeyTest.java +++ b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyProductVariantsImportContainersByImportContainerKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyProductsImportContainersByImportContainerKeyTest.java b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyProductsImportContainersByImportContainerKeyTest.java index 0c2edaddc4b..6a255cd548f 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyProductsImportContainersByImportContainerKeyTest.java +++ b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyProductsImportContainersByImportContainerKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyStandalonePricesImportContainersByImportContainerKeyTest.java b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyStandalonePricesImportContainersByImportContainerKeyTest.java index d802329c7aa..e1fe1ea925e 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyStandalonePricesImportContainersByImportContainerKeyTest.java +++ b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyStandalonePricesImportContainersByImportContainerKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyTypesImportContainersByImportContainerKeyTest.java b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyTypesImportContainersByImportContainerKeyTest.java index c05d12a9b02..364655e6ac3 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyTypesImportContainersByImportContainerKeyTest.java +++ b/commercetools/commercetools-sdk-java-importapi/src/test/java-generated/com/commercetools/importapi/client/resource/ByProjectKeyTypesImportContainersByImportContainerKeyTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-ml/src/test/java-generated/com/commercetools/ml/client/resource/ByProjectKeyImageSearchConfigTest.java b/commercetools/commercetools-sdk-java-ml/src/test/java-generated/com/commercetools/ml/client/resource/ByProjectKeyImageSearchConfigTest.java index b9d31ff5fd1..f4879658eee 100644 --- a/commercetools/commercetools-sdk-java-ml/src/test/java-generated/com/commercetools/ml/client/resource/ByProjectKeyImageSearchConfigTest.java +++ b/commercetools/commercetools-sdk-java-ml/src/test/java-generated/com/commercetools/ml/client/resource/ByProjectKeyImageSearchConfigTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-ml/src/test/java-generated/com/commercetools/ml/client/resource/ByProjectKeyImageSearchTest.java b/commercetools/commercetools-sdk-java-ml/src/test/java-generated/com/commercetools/ml/client/resource/ByProjectKeyImageSearchTest.java index 296d5bf6744..bb29706d8a0 100644 --- a/commercetools/commercetools-sdk-java-ml/src/test/java-generated/com/commercetools/ml/client/resource/ByProjectKeyImageSearchTest.java +++ b/commercetools/commercetools-sdk-java-ml/src/test/java-generated/com/commercetools/ml/client/resource/ByProjectKeyImageSearchTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-ml/src/test/java-generated/com/commercetools/ml/client/resource/ByProjectKeyRecommendationsGeneralCategoriesTest.java b/commercetools/commercetools-sdk-java-ml/src/test/java-generated/com/commercetools/ml/client/resource/ByProjectKeyRecommendationsGeneralCategoriesTest.java index 96d5d31277a..aa3e43a88d6 100644 --- a/commercetools/commercetools-sdk-java-ml/src/test/java-generated/com/commercetools/ml/client/resource/ByProjectKeyRecommendationsGeneralCategoriesTest.java +++ b/commercetools/commercetools-sdk-java-ml/src/test/java-generated/com/commercetools/ml/client/resource/ByProjectKeyRecommendationsGeneralCategoriesTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-ml/src/test/java-generated/com/commercetools/ml/client/resource/ByProjectKeyRecommendationsProjectCategoriesByProductIdTest.java b/commercetools/commercetools-sdk-java-ml/src/test/java-generated/com/commercetools/ml/client/resource/ByProjectKeyRecommendationsProjectCategoriesByProductIdTest.java index 87d1558824b..69b9d4ab3ec 100644 --- a/commercetools/commercetools-sdk-java-ml/src/test/java-generated/com/commercetools/ml/client/resource/ByProjectKeyRecommendationsProjectCategoriesByProductIdTest.java +++ b/commercetools/commercetools-sdk-java-ml/src/test/java-generated/com/commercetools/ml/client/resource/ByProjectKeyRecommendationsProjectCategoriesByProductIdTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-ml/src/test/java-generated/com/commercetools/ml/client/resource/ByProjectKeySimilaritiesProductsStatusByTaskIdTest.java b/commercetools/commercetools-sdk-java-ml/src/test/java-generated/com/commercetools/ml/client/resource/ByProjectKeySimilaritiesProductsStatusByTaskIdTest.java index 9b2b87316ef..a98ac2ba4ac 100644 --- a/commercetools/commercetools-sdk-java-ml/src/test/java-generated/com/commercetools/ml/client/resource/ByProjectKeySimilaritiesProductsStatusByTaskIdTest.java +++ b/commercetools/commercetools-sdk-java-ml/src/test/java-generated/com/commercetools/ml/client/resource/ByProjectKeySimilaritiesProductsStatusByTaskIdTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/commercetools/commercetools-sdk-java-ml/src/test/java-generated/com/commercetools/ml/client/resource/ByProjectKeySimilaritiesProductsTest.java b/commercetools/commercetools-sdk-java-ml/src/test/java-generated/com/commercetools/ml/client/resource/ByProjectKeySimilaritiesProductsTest.java index 0d57f09a155..b405c0e435d 100644 --- a/commercetools/commercetools-sdk-java-ml/src/test/java-generated/com/commercetools/ml/client/resource/ByProjectKeySimilaritiesProductsTest.java +++ b/commercetools/commercetools-sdk-java-ml/src/test/java-generated/com/commercetools/ml/client/resource/ByProjectKeySimilaritiesProductsTest.java @@ -41,7 +41,7 @@ public void withMethods(ApiHttpRequest request, String httpMethod, String uri) { @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeServerException(ClientRequestCommand httpRequest) throws Exception { + public void executeServerException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(500, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); @@ -52,7 +52,7 @@ public void executeServerException(ClientRequestCommand httpRequest) throws E @TestTemplate @UseDataProvider("executeMethodParameters") - public void executeClientException(ClientRequestCommand httpRequest) throws Exception { + public void executeClientException(HttpRequestCommand httpRequest) throws Exception { Mockito.when(httpClientMock.execute(Mockito.any())) .thenReturn(CompletableFuture.completedFuture( new ApiHttpResponse<>(400, null, "".getBytes(StandardCharsets.UTF_8), "Oops!"))); diff --git a/references.txt b/references.txt index be330002324..8c6ea6b9d4e 100644 --- a/references.txt +++ b/references.txt @@ -125,3 +125,4 @@ e057c49ed855a66b046cb7734da4098ea3cd9f9d c79d63cb4ea031447a5dfeea23dc05bb9398d727 378dc7e319514e6ac8c88fb6295c787d8cf5ad14 378dc7e319514e6ac8c88fb6295c787d8cf5ad14 +316dfbe75db3fde272cabc091b54d14a67e330f2