public class AdminApiTestHelper extends Object
| Constructor and Description |
|---|
AdminApiTestHelper() |
| Modifier and Type | Method and Description |
|---|---|
void |
verifyAdvancedThrottlePolicyDTO(AdvancedThrottlePolicyDTO expectedPolicy,
AdvancedThrottlePolicyDTO actualPolicy)
Verify whether the field values of the advanced throttling policy contains the expected values.
|
void |
verifyApiCategoryDTO(APICategoryDTO expectedApiCategory,
APICategoryDTO actualApiCategory)
Verify whether the field values of the api category DTO contains the expected values.
|
void |
verifyApplicationThrottlePolicyDTO(ApplicationThrottlePolicyDTO expectedPolicy,
ApplicationThrottlePolicyDTO actualPolicy)
Verify whether the field values of the application throttling policy contains the expected values.
|
void |
verifyCustomThrottlePolicyDTO(CustomRuleDTO expectedPolicy,
CustomRuleDTO actualPolicy)
Verify whether the field values of the custom throttling policy contains the expected values.
|
void |
verifyEnvironmentDTO(EnvironmentDTO expectedEnv,
EnvironmentDTO actualEnv)
Verify whether the field values of the environment DTO contains the expected values.
|
void |
verifyLabelDTO(LabelDTO expectedLabel,
LabelDTO actualLabel)
Verify whether the field values of the label DTO contains the expected values.
|
void |
verifySubscriptionThrottlePolicyDTO(SubscriptionThrottlePolicyDTO expectedPolicy,
SubscriptionThrottlePolicyDTO actualPolicy)
Verify whether the field values of the subscription throttling policy contains the expected values.
|
void |
verifyVhostDTO(VHostDTO expectedVhost,
VHostDTO actualVhost)
Verify whether the field values of the vhost DTO contains the expected values.
|
public void verifyApplicationThrottlePolicyDTO(ApplicationThrottlePolicyDTO expectedPolicy, ApplicationThrottlePolicyDTO actualPolicy)
expectedPolicy - Expected policy which contains the expected field values.actualPolicy - Policy object of which the field values should be verified.public void verifySubscriptionThrottlePolicyDTO(SubscriptionThrottlePolicyDTO expectedPolicy, SubscriptionThrottlePolicyDTO actualPolicy)
expectedPolicy - Expected policy which contains the expected field values.actualPolicy - Policy object of which the field values should be verified.public void verifyCustomThrottlePolicyDTO(CustomRuleDTO expectedPolicy, CustomRuleDTO actualPolicy)
expectedPolicy - Expected policy which contains the expected field values.actualPolicy - Policy object of which the field values should be verified.public void verifyAdvancedThrottlePolicyDTO(AdvancedThrottlePolicyDTO expectedPolicy, AdvancedThrottlePolicyDTO actualPolicy)
expectedPolicy - Expected policy which contains the expected field values.actualPolicy - Policy object of which the field values should be verified.public void verifyLabelDTO(LabelDTO expectedLabel, LabelDTO actualLabel)
expectedLabel - Expected label which contains the expected field values.actualLabel - Label object of which the field values should be verified.public void verifyEnvironmentDTO(EnvironmentDTO expectedEnv, EnvironmentDTO actualEnv)
expectedEnv - Expected environment which contains the expected field values.actualEnv - Environment object of which the field values should be verified.public void verifyVhostDTO(VHostDTO expectedVhost, VHostDTO actualVhost)
expectedVhost - Expected vhost which contains the expected field values.actualVhost - Vhost object of which the field values should be verified.public void verifyApiCategoryDTO(APICategoryDTO expectedApiCategory, APICategoryDTO actualApiCategory)
expectedApiCategory - Expected api category which contains the expected field values.actualApiCategory - Api category object of which the field values should be verified.Copyright © 2021 WSO2 Inc. All rights reserved.