@Test
	public void updateNonExistingContainer() {
		exception.expect(ZooKeeperAccessException.class);
		exception.expectMessage("Could not find container with id " + id + 10);
		ContainerAttributes containerAttributes = new ContainerAttributes(id + 10).setPid(12345).setHost("randomHost").setIp(
				"randomIP");
		containerAttributes.put("groups", "test1,test2");
		Container entity = new Container(id + 10, containerAttributes);
		containerRepository.update(entity);
	}
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