@Test public void shouldParseEventSubject() throws Exception { Map<String, Object> expectedParameters = prepareParameter(SUBJECT); Map<String, Object> parameters = eventParser.parseEventParameters(TRIGGER_LISTENER_SUBJECT, expectedParameters); assertEquals(expectedParameters, parameters); }
@Override public Map<String, Object> parseEventParameters(String eventSubject, Map<String, Object> eventParameters) { return eventParameters; }
SchedulerEventParser implements TasksEventParser { @Override public Map<String, Object> parseEventParameters(String eventSubject, Map<String, Object> eventParameters) { return eventParameters; } }
SchedulerEventParser implements TasksEventParser { @Override public Map<String, Object> parseEventParameters(String eventSubject, Map<String, Object> eventParameters) { return eventParameters; }  }
SchedulerEventParser implements TasksEventParser { @Override public Map<String, Object> parseEventParameters(String eventSubject, Map<String, Object> eventParameters) { return eventParameters; }  @Override Map<String, Object> parseEventParameters(String eventSubject, Map<String, Object> eventParameters); @Override String parseEventSubject(String eventSubject, Map<String, Object> eventParameters); @Override String getName(); }
SchedulerEventParser implements TasksEventParser { @Override public Map<String, Object> parseEventParameters(String eventSubject, Map<String, Object> eventParameters) { return eventParameters; }  @Override Map<String, Object> parseEventParameters(String eventSubject, Map<String, Object> eventParameters); @Override String parseEventSubject(String eventSubject, Map<String, Object> eventParameters); @Override String getName();  }