public void testViewWithJobExecutionInfo() throws Exception {
JobExecution jobExecution1 = MetaDataInstanceFactory.createJobExecution();
JobExecution jobExecution2 = MetaDataInstanceFactory.createJobExecution(13L);
jobExecution2.setEndTime(new Date());
model.put("baseUrl", "http://localhost:8080/springsource");
model.put("jobExecutions", Arrays.asList(new JobExecutionInfo(jobExecution1, TimeZone.getTimeZone("GMT")),
new JobExecutionInfo(jobExecution2, TimeZone.getTimeZone("GMT"))));
model.put("currentTime", new Date());
view.render(model, request, response);
String content = response.getContentAsString();
// System.err.println(content);
JsonWrapper wrapper = new JsonWrapper(content);