@Test
	public void testModuleInfoWithIncorrectModuleName() throws Exception {
		mockMvc.perform(get("/modules/source/test")).andExpect(status().isNotFound()).andExpect(
				jsonPath("$[0].message", Matchers.is("Could not find module with name 'test' and type 'source'")));
	}
Tests REST compliance of module-related endpoints.

@author Glenn Renfro
@author Mark Fisher
@author Gunnar Hillert
@author Ilayaperumal Gopinathan
spring-xd-dirt/src/test/java/org/springframework/xd/dirt/rest/ModulesControllerIntegrationTests.java