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 Summary
Modifier and TypeMethodDescriptionprotected voidafter()static ItemTypeAuditEnableRulecreate()Creates a rule that adds destinationTarget item type to the list of item types to be enabled for auditing.disable()enable()Creates a rule that adds integrationObject item type to the list of item types to be enabled for auditing.Methods inherited from class org.junit.rules.ExternalResource
apply, before
-
Method Details
-
create
-
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
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
-
disable
-
after
protected void after()- Overrides:
afterin classorg.junit.rules.ExternalResource
-