}
@Test
public void testViewWithJobAndExecutions() throws Exception {
model.put(BindingResult.MODEL_KEY_PREFIX + "launchRequest", errors);
model.put("jobInfo", new JobInfo("foo", 1));
model.put("jobInstances", Arrays.asList(new JobInstanceInfo(MetaDataInstanceFactory.createJobInstance("foo",
123456789L), Arrays.asList(MetaDataInstanceFactory.createJobExecution()), TimeZone.getTimeZone("GMT"))));
model.put("baseUrl", "http://localhost:8080/springsource");
job.render(model, request, response);
String content = response.getContentAsString();