Class InboundMonitoringRule
- java.lang.Object
-
- org.junit.rules.ExternalResource
-
- de.hybris.platform.inboundservices.util.InboundMonitoringRule
-
- All Implemented Interfaces:
org.junit.rules.TestRule
public class InboundMonitoringRule extends org.junit.rules.ExternalResource
A rule for enabling/disabling inbound request monitoring in integration tests.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
after()
protected void
before()
static InboundMonitoringRule
disabled()
Creates a rule that disables inbound request monitoring feature.static InboundMonitoringRule
enabled()
Creates a rule that enables inbound request monitoring feature.
-
-
-
Method Detail
-
disabled
public static InboundMonitoringRule disabled()
Creates a rule that disables inbound request monitoring feature.- Returns:
- a monitoring rule with monitoring disabled.
-
enabled
public static InboundMonitoringRule enabled()
Creates a rule that enables inbound request monitoring feature.- Returns:
- a monitoring rule with monitoring enabled.
-
before
protected void before()
- Overrides:
before
in classorg.junit.rules.ExternalResource
-
after
protected void after()
- Overrides:
after
in classorg.junit.rules.ExternalResource
-
-