Set<? extends VolumeSnapshot> snapshots = api.listSnapshotsInDetail().toSet();
assertEquals(snapshots, ImmutableSet.of(testSnapshot()));
// double-check individual fields
VolumeSnapshot snappy = Iterables.getOnlyElement(snapshots);
assertEquals(snappy.getId(), "7");
assertEquals(snappy.getVolumeId(), "9");
assertEquals(snappy.getStatus(), Volume.Status.AVAILABLE);
assertEquals(snappy.getDescription(), "jclouds live test snapshot");
assertEquals(snappy.getName(), "jclouds-live-test");
assertEquals(snappy.getSize(), 1);
}