@Test
	public void testModuleUpload() {
		module().upload("siDslModule2", processor,
				new File("src/test/resources/spring-xd/xd/modules/processor/siDslModule.jar"));

		Table t = listAll();

		assertThat(t.getRows(), hasItem(rowWithValue(2, "    siDslModule2")));
	}
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