@Test
	public void testJobUnDeployNoDef() throws Exception {
		mockMvc.perform(
				post("/jobs/definitions").param("name", "job1").param("definition", JOB_DEFINITION).accept(
						MediaType.APPLICATION_JSON).param("deploy", "false")).andExpect(status().isCreated());
		mockMvc.perform(delete("/jobs/deployments/{name}", "myjob").accept(MediaType.APPLICATION_JSON)).andExpect(
				status().isNotFound());
	}
Tests REST compliance of jobs-related endpoints.

@author Glenn Renfro
@author Ilayaperumal Gopinathan
@author Mark Fisher
@author Florent Biville
spring-xd-dirt/src/test/java/org/springframework/xd/dirt/rest/JobsControllerIntegrationTests.java