Class ThreadLocalDomainEventPublisherTest

java.lang.Object
com.reallifedeveloper.common.domain.event.ThreadLocalDomainEventPublisherTest

public class ThreadLocalDomainEventPublisherTest extends Object
  • Constructor Details

    • ThreadLocalDomainEventPublisherTest

      public ThreadLocalDomainEventPublisherTest()
  • Method Details

    • clearSubscribers

      @BeforeEach public void clearSubscribers()
    • simpleSubscription

      @Test public void simpleSubscription()
    • correctSubscribersGetNotified

      @Test public void correctSubscribersGetNotified()
    • canSubscribeToAllDomainEvents

      @Test public void canSubscribeToAllDomainEvents()
    • noSubscribers

      @Test public void noSubscribers()
    • threadLocalSubscribers

      @Test public void threadLocalSubscribers() throws Exception
      Throws:
      Exception
    • reset

      @Test public void reset()
    • subscribingSubscriberNotAllowed

      @Test public void subscribingSubscriberNotAllowed()
    • publishingSubscriberNotAllowed

      @Test public void publishingSubscriberNotAllowed()
    • resettingSubscriberNotAllowed

      @Test public void resettingSubscriberNotAllowed()