@Test public void clear() { sut.addObserver(String.class, stringObserver); sut.addObserver(Boolean.class, booleanObserver); sut.clear(); sut.notifyObservers("A string event"); sut.notifyObservers(Boolean.TRUE); context.assertIsSatisfied(); }
public void clear() { observerHandlers.clear(); }
EventBus { public void clear() { observerHandlers.clear(); } }
EventBus { public void clear() { observerHandlers.clear(); } EventBus(); }
EventBus { public void clear() { observerHandlers.clear(); } EventBus(); static EventBus getInstance(); void addObserver(final Object event, final Observer< ? > observer); void bufferObservers(); void restoreBufferedObservers(); void addObserver(final Class< ? extends Object> event, final Observer< ? > observer,
            final Boolean fireLastEvent); void addObservers(final Observer observer, final Class... events); void addObserver(final Class< ? extends Object> event, final Observer< ? > observer); void removeObserver(final Object event, final Observer< ? > observer); void removeObserver(final Class< ? extends Object> event, final Observer< ? > observer); void clear(); @SuppressWarnings("unchecked") void notifyObservers(final Object event); }
EventBus { public void clear() { observerHandlers.clear(); } EventBus(); static EventBus getInstance(); void addObserver(final Object event, final Observer< ? > observer); void bufferObservers(); void restoreBufferedObservers(); void addObserver(final Class< ? extends Object> event, final Observer< ? > observer,
            final Boolean fireLastEvent); void addObservers(final Observer observer, final Class... events); void addObserver(final Class< ? extends Object> event, final Observer< ? > observer); void removeObserver(final Object event, final Observer< ? > observer); void removeObserver(final Class< ? extends Object> event, final Observer< ? > observer); void clear(); @SuppressWarnings("unchecked") void notifyObservers(final Object event);  }