@Before
	public void setUp() {
		moduleDefinition = TestModuleDefinitions.dummy("foo", ModuleType.processor);
		deploymentProperties = new ModuleDeploymentProperties();
		moduleDescriptor = new ModuleDescriptor.Builder()
				.setModuleDefinition(moduleDefinition)
				.setGroup("test1")
				.setModuleLabel("amodule")
				.setIndex(0)
				.build();

		Map<String, String> container1Attributes = new HashMap<String, String>();
		container1Attributes.put("group", "group1");
		container1Attributes.put("color", "green");
		final Container container1 = new Container("container1", container1Attributes);

		Map<String, String> container2Attributes = new HashMap<String, String>();
		container2Attributes.put("group", "group2");
		container2Attributes.put("color", "green");
		container2Attributes.put("size", "large");

		final Container container2 = new Container("container2", container2Attributes);

		Map<String, String> container3Attributes = new HashMap<String, String>();
		container3Attributes.put("group", "group2");
		container3Attributes.put("color", "blue");
		container3Attributes.put("size", "small");

		final Container container3 = new Container("container3", container3Attributes);

		containers.add(container1);
		containers.add(container2);
		containers.add(container3);
	}
Tests for {@link ContainerMatcher}

@author David Turanski
@author Ilayaperumal Gopinathan
spring-xd-dirt/src/test/java/org/springframework/xd/dirt/server/admin/deployment/DefaultContainerMatcherTests.java