SchedulerEventParser implements TasksEventParser { @Override public String getName() { return SchedulerConstants.PARSER_NAME; }  @Override Map<String, Object> parseEventParameters(String eventSubject, Map<String, Object> eventParameters); @Override String parseEventSubject(String eventSubject, Map<String, Object> eventParameters); @Override String getName();  }
@Test public void shouldGetName() throws Exception { assertEquals(SchedulerConstants.PARSER_NAME, eventParser.getName()); }