Class ItemTypeAuditEnableRule

java.lang.Object
org.junit.rules.ExternalResource
de.hybris.platform.integrationbackoffice.rules.ItemTypeAuditEnableRule
All Implemented Interfaces:
org.junit.rules.TestRule

public class ItemTypeAuditEnableRule extends org.junit.rules.ExternalResource
A rule for enabling/disabling auditing on specified Item Types in integration tests.
  • Method Details

    • create

      public static ItemTypeAuditEnableRule create()
    • destinationTarget

      public ItemTypeAuditEnableRule destinationTarget()
      Creates a rule that adds destinationTarget item type to the list of item types to be enabled for auditing.
      Returns:
      an ItemTypeAuditEnableRule with destinationTarget auditing added.
    • integrationObject

      public ItemTypeAuditEnableRule integrationObject()
      Creates a rule that adds integrationObject item type to the list of item types to be enabled for auditing.
      Returns:
      an ItemTypeAuditEnableRule with integrationObject auditing added.
    • enable

      public ItemTypeAuditEnableRule enable()
    • disable

      public ItemTypeAuditEnableRule disable()
    • after

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