Class 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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void after()  
      protected void before()  
      void consume​(OutboundItemDTO outboundItemDTO)
      Consumes the items in the outbound item DTO.
      int invocations()  
      void reset()  
      • Methods inherited from class org.junit.rules.ExternalResource

        apply
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TestOutboundItemConsumer

        public TestOutboundItemConsumer()
    • Method Detail

      • 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