@Test
	public void testGetBatchJobExecutionsPaginated() throws Exception {
		mockMvc.perform(
				get("/jobs/executions").param("page", "1").param("size", "5").accept(
						MediaType.APPLICATION_JSON)).andExpect(status().isOk()).andExpect(
				jsonPath("$.content[*]", Matchers.hasSize(2)));
	}
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