public class MockEventPublisher extends Object implements com.atlassian.event.api.EventPublisher
| Constructor and Description | 
|---|
MockEventPublisher()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
publish(Object o)  | 
List<Object> | 
publishedEvents()  | 
void | 
register(Object o)  | 
void | 
reset()  | 
void | 
unregister(Object o)  | 
void | 
unregisterAll()  | 
public void publish(Object o)
publish in interface com.atlassian.event.api.EventPublisherpublic void register(Object o)
register in interface com.atlassian.event.api.EventListenerRegistrarpublic void unregister(Object o)
unregister in interface com.atlassian.event.api.EventListenerRegistrarpublic void unregisterAll()
unregisterAll in interface com.atlassian.event.api.EventListenerRegistrarpublic void reset()
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.