@Test
	public void moduleDeploymentPropertiesForModuleName() throws InterruptedException {
		String streamName = "moduleDeploymentPropertiesForModuleName";
		StreamDefinition definition = new StreamDefinition(streamName, getHttpLogStream());
		integrationSupport.streamDeployer().save(definition);
		Map<String, String> props = new HashMap<String, String>();
		props.put("module.log.prop1", "0");
		props.put("module.log.foo", "bar");
		assertTrue("Timeout waiting for stream deployment", integrationSupport.deployStream(definition, props));
		Module module = integrationSupport.getModule(streamName, "log", 1);
		ModuleDeploymentProperties actualProps = module.getDeploymentProperties();
		assertEquals("0", actualProps.get("prop1"));
		assertEquals("bar", actualProps.get("foo"));
		integrationSupport.undeployAndDestroyStream(definition);
		Thread.sleep(2000); // todo: we need waitForDestroy within the previous method
	}
Get the stream 'http | log' with random available http port selected.

@return the stream
spring-xd-dirt/src/test/java/org/springframework/xd/dirt/stream/AbstractSingleNodeStreamDeploymentIntegrationTests.java