@Test
	public void updateNonExistingContainer() {
		exception.expect(ZooKeeperAccessException.class);
		exception.expectMessage("Could not find admin with id " + id + 10);
		AdminAttributes adminAttributes = new AdminAttributes(id + 10).setPid(12345).setHost("randomHost").setIp(
				"randomIP");
		Admin entity = new Admin(id + 10, adminAttributes);
		adminRepository.update(entity);
	}
Tests for {@link ZooKeeperAdminRepository}.

@author Janne Valkealahti
spring-xd-dirt/src/test/java/org/springframework/xd/dirt/container/store/ZooKeeperAdminRepositoryTests.java