@Test
	public void testCollidingModuleComposeWithOtherCompositeForcingUpdate() {
		module().compose("compositesource", "time | splitter");

		getShell().executeCommand("module compose compositesource --definition \"time | transform\" --force");

		String info = module().info("compositesource", source);
		assertThat(info, containsString("transform.script"));
		assertThat(info, not(containsString("splitter.expression")));

	}
This tests that options passed at usage time of a composed module are override definition values.
spring-xd-shell/src/test/java/org/springframework/xd/shell/command/AbstractModuleCommandsTests.java