@Test public void addTpicHeaderToJobDataMapIfBackendContainsValues() { backend.put("testKey", "testValue"); final JobDataMap dataMap = new JobDataMap(); unit.injectContext(dataMap); assertThat(dataMap, hasKey(TPIC_HEADER)); assertThat((Map<String, String>) dataMap.get(TPIC_HEADER), hasEntry("testKey", "testValue")); }
public void injectContext(Trigger trigger) { injectContext(trigger.getJobDataMap()); }
TraceeContextInjector { public void injectContext(Trigger trigger) { injectContext(trigger.getJobDataMap()); } }
TraceeContextInjector { public void injectContext(Trigger trigger) { injectContext(trigger.getJobDataMap()); } TraceeContextInjector();  TraceeContextInjector(final String profile);   TraceeContextInjector(final TraceeBackend backend, final String profile); }
TraceeContextInjector { public void injectContext(Trigger trigger) { injectContext(trigger.getJobDataMap()); } TraceeContextInjector();  TraceeContextInjector(final String profile);   TraceeContextInjector(final TraceeBackend backend, final String profile); void injectContext(Trigger trigger); void injectContext(JobDetail jobDetail); void injectContext(JobDataMap jobDataMap); }
TraceeContextInjector { public void injectContext(Trigger trigger) { injectContext(trigger.getJobDataMap()); } TraceeContextInjector();  TraceeContextInjector(final String profile);   TraceeContextInjector(final TraceeBackend backend, final String profile); void injectContext(Trigger trigger); void injectContext(JobDetail jobDetail); void injectContext(JobDataMap jobDataMap);  }