@Test
	public void testGetNonExistingBatchJobExecution() throws Exception {
		mockMvc.perform(get("/jobs/executions/99999").accept(MediaType.APPLICATION_JSON))
				.andExpect(status().isNotFound())
				.andExpect(jsonPath("$[0].message", Matchers.is("Could not find jobExecution with id 99999")));
	}
Tests REST compliance of {@link BatchJobExecutionsController} endpoints.

@author Ilayaperumal Gopinathan
@author Gunnar Hillert
spring-xd-dirt/src/test/java/org/springframework/xd/dirt/rest/BatchJobExecutionsControllerIntegrationTests.java