@Test
	public void findContainerAttributesById() {
		Container foundContainer = containerRepository.findOne(id);
		assertNotNull(foundContainer);
		ContainerAttributes attributes = foundContainer.getAttributes();
		assertNotNull(attributes);
		assertEquals(id, attributes.getId());
		assertEquals(pid, attributes.getPid());
		assertEquals(host, attributes.getHost());
		assertEquals(ip, attributes.getIp());
		assertEquals(groups, attributes.getGroups());
	}
Check if the container attributes equal.

@param attr1 container attributes
@param attr2 container attributes
@return true if the container attributes match
spring-xd-dirt/src/test/java/org/springframework/xd/dirt/listener/ZooKeeperContainerRepositoryTests.java