@Test
  public void testViewWithLaunchErrors() throws Exception {
    model.put("job", new JobInfo("foo", 1));
    BindException errors = new BindException(new Object(), "launchRequest");
    model.put("errors", errors);
    errors.reject("job.already.complete", "Already complete");
    model.put("baseUrl", "http://localhost:8080/springsource");
    job.render(model, request, response);
    String content = response.getContentAsString();
    // System.err.println(content);
    JsonWrapper wrapper = new JsonWrapper(content);