Package de.hybris.platform.outboundsync
Class TestOutboundItemConsumer
java.lang.Object
org.junit.rules.ExternalResource
de.hybris.platform.outboundsync.TestOutboundItemConsumer
- All Implemented Interfaces:
OutboundItemConsumer,org.junit.rules.TestRule
public class TestOutboundItemConsumer
extends org.junit.rules.ExternalResource
implements OutboundItemConsumer
A change consumer to be used in the tests.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidafter()protected voidbefore()voidconsume(OutboundItemDTO outboundItemDTO) Consumes the items in the outbound item DTO.intvoidreset()Methods inherited from class org.junit.rules.ExternalResource
apply
-
Constructor Details
-
TestOutboundItemConsumer
public TestOutboundItemConsumer()
-
-
Method Details
-
consume
Description copied from interface:OutboundItemConsumerConsumes the items in the outbound item DTO.- Specified by:
consumein interfaceOutboundItemConsumer- Parameters:
outboundItemDTO- that contains the items to consume
-
invocations
public int invocations() -
reset
public void reset() -
before
protected void before()- Overrides:
beforein classorg.junit.rules.ExternalResource
-
after
protected void after()- Overrides:
afterin classorg.junit.rules.ExternalResource
-