@Test
	public void testFileDeploymentProperties() throws Exception {
		File file = Files.createTempFile(StreamCommandsUnitTests.class.getSimpleName(), "testFileDeploymentProperties").toFile();
		file.deleteOnExit();

		Properties props = new Properties();
		props.put("module.bar.count", "3");
		props.store(new FileOutputStream(file), "deployment props");

		commands.deployStream("foo", null, file);

		Mockito.verify(streamOperations).deploy("foo", Collections.singletonMap("module.bar.count", "3"));
	}
True unit tests for Stream commands.

@author Eric Bottard
spring-xd-shell/src/test/java/org/springframework/xd/shell/command/StreamCommandsUnitTests.java