@Test
public void testJobDataMapToXmlBuilder() throws SchedulerException {

	JobDataMap jobDataMap = new JobDataMap();
	jobDataMap.put(JAVALISTENER, "javaListener");
	jobDataMap.put(CORRELATIONID, "correlationId");
	jobDataMap.put(MESSAGE, "message");
	
	assertEquals("<jobMessages />", schedulerAdapter.getJobMessages(null).toXML().trim());
}