@Test
	public void testListModulesByContainerAndModuleId() throws Exception {
		mockMvc.perform(
				get("/runtime/modules?containerId=1&moduleId=s1.source.http.0").accept(MediaType.APPLICATION_JSON)).andExpect(
				status().isOk()).andExpect(
				jsonPath("$.name", containsString("http.0"))).andExpect(
				jsonPath("$.unitName", containsString("s1"))).andExpect(
				jsonPath("$.containerId", containsString("1"))).andExpect(
				jsonPath("$.moduleOptions.entity1", containsString("value1"))).andExpect(
				jsonPath("$.deploymentProperties.count", containsString("1")));
	}
Tests REST compliance of module metadata endpoint.

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