@Test public void testRegister() throws Exception { noopEventLog.register(eventLogListener); noopEventLog.register(eventLogListener, Collections.<Class<? extends EventLogEvent>>emptyList()); noopEventLog.register(eventLogListener, new String[]{}); }
@Override public void register(EventLogListener listener) { }
NoopEventLogImpl implements EventLog { @Override public void register(EventLogListener listener) { } }
NoopEventLogImpl implements EventLog { @Override public void register(EventLogListener listener) { } @Inject  NoopEventLogImpl(); }
NoopEventLogImpl implements EventLog { @Override public void register(EventLogListener listener) { } @Inject  NoopEventLogImpl(); @Override void register(EventLogListener listener); @Override void register(EventLogListener listener, List<Class<? extends EventLogEvent>> events); @Override void register(EventLogListener listener, String... events); @Override void postEvent(EventLogEvent event); @Override void run(); }
NoopEventLogImpl implements EventLog { @Override public void register(EventLogListener listener) { } @Inject  NoopEventLogImpl(); @Override void register(EventLogListener listener); @Override void register(EventLogListener listener, List<Class<? extends EventLogEvent>> events); @Override void register(EventLogListener listener, String... events); @Override void postEvent(EventLogEvent event); @Override void run();  }