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 |
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 |
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.
|
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.Copyright © 2020 WSO2 Inc. All rights reserved.