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 Constructor Description TestOutboundItemConsumer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidafter()protected voidbefore()voidconsume(OutboundItemDTO outboundItemDTO)Consumes the items in the outbound item DTO.intinvocations()voidreset()
-
-
-
Method Detail
-
consume
public void consume(OutboundItemDTO outboundItemDTO)
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
-
-