Class TestEventManager

java.lang.Object
com.github.philippheuer.events4j.core.EventManager
com.github.twitch4j.common.test.TestEventManager
All Implemented Interfaces:
com.github.philippheuer.events4j.api.IEventManager, AutoCloseable

public class TestEventManager extends com.github.philippheuer.events4j.core.EventManager
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    publish(Object event)
     

    Methods inherited from class com.github.philippheuer.events4j.core.EventManager

    autoDiscovery, close, getActiveSubscriptions, getConsumerSequence, getDefaultEventHandler, getEventHandler, getEventHandlerCache, getEventHandlers, getServiceMediator, hasEventHandler, isStopped, onEvent, onEvent, registerEventHandler, setDefaultEventHandler, setDefaultEventHandler

    Methods inherited from class java.lang.Object

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

    • TestEventManager

      public TestEventManager()
  • Method Details

    • publish

      public void publish(Object event)
      Specified by:
      publish in interface com.github.philippheuer.events4j.api.IEventManager
      Overrides:
      publish in class com.github.philippheuer.events4j.core.EventManager
    • getPublishedEvents

      public List<Object> getPublishedEvents()