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 Details

    • TestOutboundItemConsumer

      public TestOutboundItemConsumer()
  • Method Details

    • consume

      public void consume(OutboundItemDTO outboundItemDTO)
      Description copied from interface: OutboundItemConsumer
      Consumes the items in the outbound item DTO.
      Specified by:
      consume in interface OutboundItemConsumer
      Parameters:
      outboundItemDTO - that contains the items to consume
    • invocations

      public int invocations()
    • reset

      public void reset()
    • before

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

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