public class MockEventProxy extends Object implements EventProxy
Constructor and Description |
---|
MockEventProxy() |
Modifier and Type | Method and Description |
---|---|
List<Event> |
getEvents() |
void |
resetEvents() |
void |
send(Event event)
This method is called to send the event out
|
void |
send(Log eventLog)
This method is called to send an event log containing multiple events out
|
public void send(Event event) throws EventProxyException
EventProxy
send
in interface EventProxy
event
- the event to be sent outEventProxyException
- thrown if the send fails for any reasonpublic void send(Log eventLog) throws EventProxyException
EventProxy
send
in interface EventProxy
eventLog
- the events to be sent outEventProxyException
- thrown if the send fails for any reasonpublic void resetEvents()
Copyright © 2015. All rights reserved.