Cluster expected = createTestCluster(new String[]{"region/id1", "region/id2"},
new String[]{"role1", "role2"});
BlobClusterStateStore store = new BlobClusterStateStore(spec);
store.save(expected);
/* load and check the stored state */
Cluster stored = store.load();
Cluster.Instance first = Iterables.getFirst(stored.getInstances(), null);
assertNotNull(first);