Class RequestPersistenceContext
java.lang.Object
org.junit.rules.ExternalResource
de.hybris.platform.integrationservices.util.BaseContext
de.hybris.platform.integrationservices.util.RequestPersistenceContext
- All Implemented Interfaces:
org.junit.rules.TestRule
- Direct Known Subclasses:
InboundRequestPersistenceContext,OutboundRequestPersistenceContext
A rule for cleaning up media created in the platform as a side effect of a test
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class de.hybris.platform.integrationservices.util.BaseContext
findAll, flexibleSearch, getService, modelService, removeAllMethods inherited from class org.junit.rules.ExternalResource
apply
-
Constructor Details
-
RequestPersistenceContext
public RequestPersistenceContext()
-
-
Method Details
-
before
public void before()- Overrides:
beforein classBaseContext
-
after
protected void after()- Overrides:
afterin classorg.junit.rules.ExternalResource
-
getAllMedia
-
getMediaContentAsString
- Throws:
IOException
-
turnMonitoringOff
public void turnMonitoringOff() -
getMonitoringProperty
-