@Test
public void testListForJobInstanceNoSuchJobInstance() throws Exception {
jobService.getJobInstance(11L);
EasyMock.expectLastCall().andThrow(new NoSuchJobInstanceException("Foo"));
EasyMock.replay(jobService);
ExtendedModelMap model = new ExtendedModelMap();
BindException errors = new BindException("target", "target");
String result = controller.listForInstance(model, "foo", 11L, null, errors);