@Test
	public void testBindingWrongType() throws BindException {
		Map<String, String> values = new HashMap<String, String>();
		values.put(makeKey("pojo1", "foo"), "othervalue");
		values.put(makeKey("pojo1", "bar"), "17.29");

		thrown.expect(BindException.class);
		thrown.expectMessage("bar");
		thrown.expectMessage("int");

		metadata.interpolate(values);

	}
Tests for HierarchicalCompositeModuleOptionsMetadata.

@author Eric Bottard
spring-xd-module/src/test/java/org/springframework/xd/module/options/HierarchicalCompositeModuleOptionsMetadataTests.java