@Test public void getEvents() throws Exception { List<Event> eventsToObserve = Arrays.<Event>asList( new DocumentCreatedEvent(), new DocumentUpdatedEvent(), new DocumentDeletedEvent()); assertEquals(eventsToObserve, mocker.getComponentUnderTest().getEvents()); }
@Override public List<Event> getEvents() { return Arrays.<Event>asList( new DocumentCreatedEvent(), new DocumentUpdatedEvent(), new DocumentDeletedEvent()); }
SSXListener implements EventListener { @Override public List<Event> getEvents() { return Arrays.<Event>asList( new DocumentCreatedEvent(), new DocumentUpdatedEvent(), new DocumentDeletedEvent()); } }
SSXListener implements EventListener { @Override public List<Event> getEvents() { return Arrays.<Event>asList( new DocumentCreatedEvent(), new DocumentUpdatedEvent(), new DocumentDeletedEvent()); }  }
SSXListener implements EventListener { @Override public List<Event> getEvents() { return Arrays.<Event>asList( new DocumentCreatedEvent(), new DocumentUpdatedEvent(), new DocumentDeletedEvent()); }  @Override String getName(); @Override List<Event> getEvents(); @Override void onEvent(Event event, Object source, Object data); }
SSXListener implements EventListener { @Override public List<Event> getEvents() { return Arrays.<Event>asList( new DocumentCreatedEvent(), new DocumentUpdatedEvent(), new DocumentDeletedEvent()); }  @Override String getName(); @Override List<Event> getEvents(); @Override void onEvent(Event event, Object source, Object data);  }