.get("jobExecution.stepExecutions.bar.resource"));
}
@Test
public void testLaunchViewWithJobAndStepExecutionInfo() throws Exception {
JobExecution jobExecution = MetaDataInstanceFactory.createJobExecutionWithStepExecutions(123L, Arrays.asList(
"foo", "bar"));
model.put("jobExecutionInfo", new JobExecutionInfo(jobExecution, TimeZone.getDefault()));
model.put("stepExecutionInfos", Arrays.asList(new StepExecutionInfo(jobExecution.getStepExecutions().iterator()
.next(), TimeZone.getTimeZone("GMT")), new StepExecutionInfo("job", 123L, "bar", TimeZone.getTimeZone("GMT"))));
model.put("baseUrl", "http://localhost:8080/springsource");
view.render(model, request, response);
String content = response.getContentAsString();
// System.err.println(content);