Class OutboundMonitoringRule
java.lang.Object
org.junit.rules.ExternalResource
de.hybris.platform.outboundservices.util.OutboundMonitoringRule
- All Implemented Interfaces:
org.junit.rules.TestRule
public class OutboundMonitoringRule
extends org.junit.rules.ExternalResource
A rule for enabling/disabling outbound request monitoring in integration tests.
-
Method Summary
Modifier and TypeMethodDescriptionprotected voidafter()static OutboundMonitoringRuledisabled()Creates a rule that disables outbound request monitoring feature.static OutboundMonitoringRuleenabled()Creates a rule that enables outbound request monitoring feature.Methods inherited from class org.junit.rules.ExternalResource
apply, before
-
Method Details
-
disabled
Creates a rule that disables outbound request monitoring feature.- Returns:
- a monitoring rule with monitoring disabled.
-
enabled
Creates a rule that enables outbound request monitoring feature.- Returns:
- a monitoring rule with monitoring enabled.
-
after
protected void after()- Overrides:
afterin classorg.junit.rules.ExternalResource
-