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 Details

    • 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 class org.junit.rules.ExternalResource
    • after

      protected void after()
      Overrides:
      after in class org.junit.rules.ExternalResource